LocationConsumer
@objc
public protocol LocationConsumer
The LocationConsumer protocol defines a set of methods that a class must implement to consume location updates and track device location
-
Represents whether the locationConsumer is currently tracking Set this to
falseto stop tracking Set this totrueto start trackingDeclaration
Swift
var shouldTrackLocation: Bool { get set } -
New location update received
Declaration
Swift
func locationUpdate(newLocation: Location)
LocationConsumer Protocol Reference