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

Builder
Link copied to clipboard
class Builder

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Regenerate whenever a change is made
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Regenerate whenever a change is made
toBuilder
Link copied to clipboard
fun toBuilder(): RouteRefreshOptions.Builder
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

intervalMillis
Link copied to clipboard
val intervalMillis: Long
The refresh interval in milliseconds, default is 5 min.