RouteCalloutUiState
Represents the state of a route callout view. Stores only lightweight data instead of heavy NavigationRoute objects to prevent memory leaks.
Parameters
unique identifier of the route.
total duration of the route.
locale for formatting route data.
flag indicating if this is the primary (selected) route.
time difference compared to the primary route.
represents the layer on the map which is used for the corresponding route line, may be empty.
a flag showing that related route is the fastest one.
a flag showing that related route is the suggested by navigation engine as the most optimal.
a flag showing that related route is only one route returned by navigation engine.
a flag showing that related route has toll road along the way.
represents whether a route is the most effective in terms of energy consumption.
represents callback of clicking on the related view.