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
Build your RouteRefreshOptions.