RouteRefreshOptions

class RouteRefreshOptions

The options available for refreshing the active DirectionsRoute. Each refresh will update the current route's LegAnnotation. This includes traffic congestion and estimated travel time.

Make sure that RouteOptions.enableRefresh is true to take advantage of this feature.

Parameters

intervalMillis

The refresh interval in milliseconds, default is 5 min.

Types

Link copied to clipboard
class Builder

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Regenerate whenever a change is made

Link copied to clipboard
open override fun hashCode(): Int

Regenerate whenever a change is made

Link copied to clipboard
fun toBuilder(): RouteRefreshOptions.Builder
Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
val intervalMillis: Long