ReplayRouteLocationEngine

open class ReplayRouteLocationEngine(coroutineScope: CoroutineScope = CoroutineScope(Dispatchers.IO)) : LocationEngine

Constructors

Link copied to clipboard
constructor()
constructor(coroutineScope: CoroutineScope = CoroutineScope(Dispatchers.IO))

Types

Link copied to clipboard
fun interface Callback
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun assignLastLocation(currentPosition: Point)
Link copied to clipboard
open suspend override fun getLastLocation(): Location?

Get last known location. If last location is not available, this method will return null.

Link copied to clipboard
open override fun listenToLocation(request: LocationEngine.Request): Flow<Location>

Listen to location updates.

Link copied to clipboard
fun moveTo(point: Point)
Link copied to clipboard
fun onStop()
Link copied to clipboard
fun updateDelay(customDelayInSeconds: Int)
Link copied to clipboard
fun updateSpeed(customSpeedInKmPerHour: Int)