Builder
Used to build ReplayRouteSession.
Constructors
Functions
Link copied to clipboard
Build your ReplayRouteSessionOptions.
Link copied to clipboard
fun decodeMinDistance(decodeDistance: Double): ReplayRouteSessionOptions.Builder
Content copied to clipboard
The DirectionsRoute.geometry is decoded when needed. This defines a minimum distance in kilometers to decode at a time.
Link copied to clipboard
fun locationResetEnabled(locationResetEnabled: Boolean): ReplayRouteSessionOptions.Builder
Content copied to clipboard
The replay session will use the device location when the route is cleared. If you do not want this behavior disable with false.
Link copied to clipboard
fun replayRouteOptions(replayRouteOptions: ReplayRouteOptions): ReplayRouteSessionOptions.Builder
Content copied to clipboard
Set the ReplayRouteOptions. The next time a batch of locations are decoded the options will be used. This will not effect the locations that are already simulated.