Package-level declarations
Functions
Adds a waypoint to the current route, following the same logic of adding waypoints to the current route as the Nav App itself. Works only during NavigationState.ActiveGuidance.
Shows the route overview by expanding the trip summary bottom sheet.
Returns information about the camera bounds, i.e. camera limitations.
Retrieves the current camera perspective.
Retrieves the current camera tracking mode.
Retrieves the current camera tracking mode.
Returns a list of EV route preferences used to configure route planning with charging stops.
Returns EV search filters. The "search" term here includes what EV stations are displayed on the map.
Retrieves information about a specific EV station. The source of data could be both cache and network. If there's no cache and network is not available this function will return a failure.
Retrieves a list of available EV charging network operator names in current location.
Retrieves the maximum number of waypoints that can be added to a navigation route.
Retrieves the information about the navigation state:
Returns the actual resolved UI mode set in the app. So if getUIOptions returns UIOptions.uiModeSettings equal to UiModeSettings.AUTO or UiModeSettings.SYSTEM, this method would return the actual mode which the app has and which the user sees.
Finds slow traffic segments along the active route.
Returns if last voice guidance instruction was found.
Hide the edit trip screen.
Hides the route overview by collapsing the trip summary bottom sheet.
Collapse upcoming maneuvers overview while driving.
Mute active guidance voice instruction while driving.
Sets the destination, optional waypoints and starts navigation.
Emits new camera perspective values whenever the camera perspective changes.
Emits new camera tracking mode values whenever the camera tracking mode changes.
Emits new camera tracking mode values whenever the camera tracking mode changes.
Observes driver notifications (subtypes of DriverNotification).
Same as setEvRoutePreferences, but returns a Flow
Same as getEvSearchPreferences, but returns a Flow
Emits new navigation state values whenever the navigation state changes. The NavigationState can be one of next types:
Same as getResolvedUiMode, but returns a Flow
Observes alternative route ids during navigation. Emits a list of available alternative routes whenever they are updated. The list will be empty when no alternative routes are available.
DEPRECATED: Please call getSlowTrafficSegments for all active route slow traffic segments or observeDriverNotifications for the nearest slow traffic segment.
Emits voice instruction enabled state changes.
Observes zoom level changes on the map.
Recenters the map camera to show the current user location.
Removes a waypoint from the current route.
Repeats the last voice guidance instruction that was played during active navigation.
Applies a zoom scale transformation to the map.
Sets the camera perspective for the map view.
Sets the camera tracking mode for the map view.
Sets the camera tracking mode for the map view.
Shows preview of the route to the user. Does not start the navigation yet.
Sets the EV route preferences used to configure route planning with charging stops.
Sets EV search filters. The "search" term here includes what EV stations are displayed on the map.
Show the edit trip screen allowing users to modify their current trip.
Closes all dialogs in the navigation app if any are present.
Opens the map and shows a list of places (SearchResult) on it.
Shows available routes to the user during navigation or destination preview.
Extend upcoming maneuvers overview while driving.
Shows a waypoint acquired from getNavigationState. If the waypoint is not present in the NavigationState, undefined behaviour. Works only during NavigationState.ActiveGuidance.
Start active guidance after a call to setDestination.
Stops navigation.
Unmute active guidance voice instruction while driving.
Zooms in on the map by applying a default zoom in factor.
Zooms out on the map by applying a default zoom out factor.
Adjusts the map zoom level to display a specific distance in meters. This allows for distance-based zoom control instead of arbitrary zoom factors.