Builder

class Builder

Build your RouteAlternativesOptions.

Constructors

Link copied to clipboard
fun Builder()

Functions

Link copied to clipboard
fun avoidManeuverSeconds(avoidManeuverSeconds: Int): RouteAlternativesOptions.Builder

Avoid maneuver second. A radius in seconds around origin point where need to avoid any significant maneuvers. Unit is seconds.

Link copied to clipboard
fun build(): RouteAlternativesOptions

Build the object.

Link copied to clipboard
fun intervalMillis(intervalMillis: Long): RouteAlternativesOptions.Builder

Update the route refresh interval in milliseconds. Default is 5 minutes, minimum is 30 seconds.