RoutesUpdatedResult

class RoutesUpdatedResult

Routes updated result is provided via RoutesObserver whenever a list of routes changes.

The route at index 0, if exist, will be treated as the primary route for 'Active Guidance'.

Parameters

navigationRoutes

list of currently maintained routes

ignoredRoutes

list of alternative routes that were ignored because they are invalid for navigation. See IgnoredRoute for details.

reason

why the routes have been updated (re-route, refresh route, and etc.)

Functions

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

Indicates whether some other object is "equal to" this one.

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

Returns a hash code value for the object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
val ignoredRoutes: List<IgnoredRoute>
Link copied to clipboard
val navigationRoutes: List<NavigationRoute>
Link copied to clipboard
val reason: String
Link copied to clipboard
val routes: List<DirectionsRoute>

List of currently maintained routes.