NavigationState
Read-only Kotlin wrapper for the engine's EngineNavigationState.
Provides access to navigation state such as current position, upcoming instructions, and route distance estimates. This class is immutable from the Kotlin side — updates to navigation state should be performed in the engine.
Properties
Instruction after the next, if available.
Building ID of the current route.
Current instruction, if available.
Current route path, if available
The current segment, in Kotlin wrapper form
Path points ahead of current location in current segment.
Path points already visited in current segment.
Name of the destination waypoint, if available.
Distance and time to the end of the route (converted to Kotlin wrapper).
Distance and time to the next instruction (converted to Kotlin wrapper).
Distance from the user to the nearest point on the route (in meters).
Checks if the current segment is the first segment
Checks if the current segment is an intermediary segment (i.e., not first and not last)
Checks if the current segment is the last segment
Next instruction, if available.
Projected user position onto the route path (used for distance calcs).
Property ID of the current route.
Upcoming segments, in Kotlin wrapper form
Already‐traversed segments, in Kotlin wrapper form