class ReplayLocationEngine : LocationEngine, ReplayEventsObserver
Location Engine for replaying route history.
<init> |
Location Engine for replaying route history. ReplayLocationEngine(: MapboxReplayer) |
getLastLocation |
Returns the most recent location currently available. fun getLastLocation(: EngineCallback): Unit |
removeLocationUpdates |
Removes location updates for the given location engine callback. fun removeLocationUpdates(: EngineCallback): Unit
Removes location updates for the given pending intent. fun removeLocationUpdates(: PendingIntent?): Unit |
replayEvents |
Called with all events that occurred within a time window during replay fun replayEvents(: List<ReplayEventBase>): Unit |
requestLocationUpdates |
Requests location updates with a callback on the specified Looper thread. fun requestLocationUpdates(: LocationEngineRequest, : EngineCallback, : Looper?): Unit
Requests location updates with callback on the specified PendingIntent. fun requestLocationUpdates(: LocationEngineRequest, : PendingIntent?): Unit |