AlternativeRouteMetadata

class AlternativeRouteMetadata

Metadata of an alternative route in the current navigation session.

Valid only until RoutesObserver or NavigationRouteAlternativesObserver fires again.

Parameters

navigationRoute

the alternative route

forkIntersectionOfAlternativeRoute

intersection point of this alternative route with the primary route, from the perspective of the alternative route

forkIntersectionOfPrimaryRoute

intersection point of this alternative route with the primary route, from the perspective of the primary route

infoFromFork

information about the alternative route from the fork with the primary route, until the destination

infoFromStartOfPrimary

summed up information about the alternative route by joining the primary route's data until the deviation point with the alternative route's data from the deviation point

alternativeId

is an id of alternative route. New alternative routes which matches tracking alternatives have the same alternativeId.

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 alternativeId: Int
Link copied to clipboard
Link copied to clipboard
val infoFromFork: AlternativeRouteInfo
Link copied to clipboard
val infoFromStartOfPrimary: AlternativeRouteInfo
Link copied to clipboard
val navigationRoute: NavigationRoute