LocationTracker
protocol LocationTracker : Mapper, ServiceProvider
Adopt to handle location related events
-
User refused access
Declaration
Swift
func accessRefused()
-
Show alert asking for authorization
Declaration
Swift
func alertLocationAccessNeeded()
-
Authorization changed
Declaration
Swift
func authorization(changed: CLAuthorizationStatus)
Parameters
changed
New status
-
Location changed
Declaration
Swift
func location(changed: CLLocation)
Parameters
changed
New location
-
alertLocationAccessNeeded()
Default implementationDefault Implementation
Show alert asking for authorization
Declaration
Swift
func alertLocationAccessNeeded()