Navigation Api
Properties
SDK and navigation errors state - monitor it to resolve problems (for example enable internet connection, gps etc.) or contact with developer (for example API key expired etc.) Custom implementation of StateFlow guarantees all changes to be notify - no conflation.
A StateFlow representing data required by the LaneAssistant composable. Pass this to the composable LaneAssistant.
A StateFlow providing data for position tracking and displaying an indicator on a map.
A StateFlow representing upcoming maneuver information ManeuversBar. Pass this to the composable ManeuversBar.
A StateFlow representing the current state of the navigation session
A StateFlow providing data drawing route or showing route bounds.
A StateFlow providing data about current voice guidance state.
A StateFlow representing current speed and speedLimit. Pass this to the composable SpeedView
Functions
Helper method that suspends until Navigation reaches desired state (and launches action if defined).
Helper method that suspends until SDK and Navigation reaches desired state (and launches action if defined).
Helper method that suspends until SDK reaches desired state (and launches action if defined).
Helper method that indicates if navigation can be stopped.
Retrieves the IOverlayViewModel associated with the provided ViewModelStoreOwner (typically an Activity or Fragment). This ViewModel is designed for use with the NavigationMapView composable function.
Initializes the SDK with the provided init parameters. This method must be called before any other SDK operations.
Initiates navigation to the specified parameters.
Sends a report to the server.
Initiates requests for location updates.
Starts default activity with map and all navigation views to visualise active navigation session.
Enables the voice navigation prompts.
Stops the active location tracking process.
Stops the currently active navigation session. This will typically stop any ongoing route guidance, remove the navigation UI, and, if a foreground service was started, stop the foreground service.
Disables the voice navigation prompts.
Updates the currently ongoing navigation session.