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
false
to stop tracking Set this totrue
to start trackingDeclaration
Swift
var shouldTrackLocation: Bool { get set }
-
New location update received
Declaration
Swift
func locationUpdate(newLocation: Location)