HistoryEventSetRoute

class HistoryEventSetRoute : HistoryEvent

Historical event that represents when a route was set.

Parameters

eventTimestamp

timestamp of event seconds

navigationRoute

the route that was set, null when it cleared

routeIndex

the index of this route

legIndex

the current leg index when the route was set

profile

the routing profile to use

geometries

the geometry polyline encoding

waypoints

the coordinates for this route

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
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

directionsRoute
Link copied to clipboard
val directionsRoute: DirectionsRoute?
The route that was set, null when it cleared.
eventTimestamp
Link copied to clipboard
open override val eventTimestamp: Double
timestamp of event seconds
geometries
Link copied to clipboard
val geometries: String
the geometry polyline encoding
legIndex
Link copied to clipboard
val legIndex: Int
the current leg index when the route was set
navigationRoute
Link copied to clipboard
val navigationRoute: NavigationRoute?
the route that was set, null when it cleared
profile
Link copied to clipboard
val profile: String
the routing profile to use
routeIndex
Link copied to clipboard
val routeIndex: Int
the index of this route
waypoints
Link copied to clipboard
val waypoints: List<HistoryWaypoint>
the coordinates for this route