ReplayLocationEngine
class ReplayLocationEngine(mapboxReplayer: MapboxReplayer) : LocationEngine, ReplayEventsObserver
Content copied to clipboard
Location Engine for replaying route history.
Constructors
Functions
Link copied to clipboard
Returns the most recent location currently available.
Link copied to clipboard
Removes location updates for the given pending intent.
Removes location updates for the given location engine callback.
Link copied to clipboard
Called with all events that occurred within a time window during replay
Link copied to clipboard
open override fun requestLocationUpdates(request: LocationEngineRequest, pendingIntent: PendingIntent?)
Content copied to clipboard
Requests location updates with callback on the specified PendingIntent.
open override fun requestLocationUpdates( request: LocationEngineRequest, callback: EngineCallback, looper: Looper?)
Content copied to clipboard
Requests location updates with a callback on the specified Looper thread.