Package-level declarations

Functions

Link copied to clipboard

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.

Link copied to clipboard

Shows the route overview by expanding the trip summary bottom sheet.

Link copied to clipboard

Returns information about the camera bounds, i.e. camera limitations.

Link copied to clipboard

Retrieves the current camera perspective.

Link copied to clipboard

Retrieves the current camera tracking mode.

Link copied to clipboard

Retrieves the current camera tracking mode.

Link copied to clipboard

Returns a list of EV route preferences used to configure route planning with charging stops.

Link copied to clipboard

Returns EV search filters. The "search" term here includes what EV stations are displayed on the map.

Link copied to clipboard

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.

Link copied to clipboard

Retrieves a list of available EV charging network operator names in current location.

Link copied to clipboard

Retrieves the maximum number of waypoints that can be added to a navigation route.

Link copied to clipboard

Retrieves the information about the navigation state:

Link copied to clipboard

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.

Link copied to clipboard
suspend fun NavManagerService.getRoute(routeId: String): Result<Route>

Retrieves detailed information about a specific route by its ID.

Link copied to clipboard

Finds slow traffic segments along the active route.

Link copied to clipboard
Link copied to clipboard

Returns if last voice guidance instruction was found.

Link copied to clipboard

Hide the edit trip screen.

Link copied to clipboard

Hides the route overview by collapsing the trip summary bottom sheet.

Link copied to clipboard

Collapse upcoming maneuvers overview while driving.

Link copied to clipboard

Mute active guidance voice instruction while driving.

Link copied to clipboard
suspend fun NavManagerService.navigateTo(destination: SearchResult, waypoints: List<SearchResult>, options: NavigationOptions = NavigationOptions()): Result<Unit>

Sets the destination, optional waypoints and starts navigation.

Link copied to clipboard

Emits new camera perspective values whenever the camera perspective changes.

Link copied to clipboard

Emits new camera tracking mode values whenever the camera tracking mode changes.

Link copied to clipboard

Emits new camera tracking mode values whenever the camera tracking mode changes.

Link copied to clipboard

Observes driver notifications (subtypes of DriverNotification).

Link copied to clipboard
Link copied to clipboard

Emits new navigation state values whenever the navigation state changes. The NavigationState can be one of next types:

Link copied to clipboard

Same as getResolvedUiMode, but returns a Flow

Link copied to clipboard

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.

Link copied to clipboard

DEPRECATED: Please call getSlowTrafficSegments for all active route slow traffic segments or observeDriverNotifications for the nearest slow traffic segment.

Link copied to clipboard

Emits voice instruction enabled state changes.

Link copied to clipboard

Observes zoom level changes on the map.

Link copied to clipboard

Recenters the map camera to show the current user location.

Link copied to clipboard

Removes a waypoint from the current route.

Link copied to clipboard

Repeats the last voice guidance instruction that was played during active navigation.

Link copied to clipboard

Applies a zoom scale transformation to the map.

Link copied to clipboard

Sets the camera perspective for the map view.

Link copied to clipboard

Sets the camera tracking mode for the map view.

Link copied to clipboard

Sets the camera tracking mode for the map view.

Link copied to clipboard
suspend fun NavManagerService.setDestination(destination: SearchResult, waypoints: List<SearchResult>, options: NavigationOptions = NavigationOptions()): Result<Unit>

Shows preview of the route to the user. Does not start the navigation yet.

Link copied to clipboard

Sets the EV route preferences used to configure route planning with charging stops.

Link copied to clipboard

Sets EV search filters. The "search" term here includes what EV stations are displayed on the map.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Show the edit trip screen allowing users to modify their current trip.

Link copied to clipboard

Closes all dialogs in the navigation app if any are present.

Link copied to clipboard
suspend fun NavManagerService.showOnMap(displayName: String? = null, searchResults: List<SearchResult>): Result<Unit>

Opens the map and shows a list of places (SearchResult) on it.

Link copied to clipboard

Shows available routes to the user during navigation or destination preview.

Link copied to clipboard

Extend upcoming maneuvers overview while driving.

Link copied to clipboard

Shows a waypoint acquired from getNavigationState. If the waypoint is not present in the NavigationState, undefined behaviour. Works only during NavigationState.ActiveGuidance.

Link copied to clipboard

Start active guidance after a call to setDestination.

Link copied to clipboard

Stops navigation.

Link copied to clipboard

Unmute active guidance voice instruction while driving.

Link copied to clipboard

Zooms in on the map by applying a default zoom in factor.

Link copied to clipboard

Zooms out on the map by applying a default zoom out factor.

Link copied to clipboard

Adjusts the map zoom level to display a specific distance in meters. This allows for distance-based zoom control instead of arbitrary zoom factors.