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

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Indicates whether some other object is "equal to" this one.
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Returns a hash code value for the object.
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

forkIntersectionOfAlternativeRoute
Link copied to clipboard
intersection point of this alternative route with the primary route, from the perspective of the alternative route
forkIntersectionOfPrimaryRoute
Link copied to clipboard
intersection point of this alternative route with the primary route, from the perspective of the primary route
infoFromFork
Link copied to clipboard
val infoFromFork: AlternativeRouteInfo
information about the alternative route from the fork with the primary route, until the destination
infoFromStartOfPrimary
Link copied to clipboard
val infoFromStartOfPrimary: AlternativeRouteInfo
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
navigationRoute
Link copied to clipboard
val navigationRoute: NavigationRoute
the alternative route