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
changedNew status
-
Location changed
Declaration
Swift
func location(changed: CLLocation)Parameters
changedNew location
-
alertLocationAccessNeeded()Default implementationDefault Implementation
Show alert asking for authorization
Declaration
Swift
func alertLocationAccessNeeded()
View on GitHub
LocationTracker Protocol Reference