Package-level declarations

Functions

Link copied to clipboard

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

Link copied to clipboard

Retrieves the current camera tracking mode.

Link copied to clipboard

Retrieves the information about the navigation state.

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>): Result<Unit>

Sets the destination, optional waypoints and starts navigation.

Link copied to clipboard

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

Link copied to clipboard

Emits new navigation state values whenever the navigation state changes.

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

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 tracking mode for the map view.

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

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

Link copied to clipboard
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, searchResults: List<SearchResult>): Result<Unit>

Opens the map and shows a list of places (SearchResult) on it. The app will be brought to the foreground.

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.