Package-level declarations

Types

Link copied to clipboard

Contains useful information that should be attached when reporting an issue. Exposed via DeveloperMetadataObserver.onDeveloperMetadataChanged.

Link copied to clipboard

Use the instance of this class to update the information about ETC gates. Instance can be obtained via MapboxNavigation.etcGateAPI.

Link copied to clipboard

An entry point for interacting with the Mapbox Navigation SDK.

Link copied to clipboard

Singleton responsible for ensuring there is only one MapboxNavigation instance. Alternative way of obtaining the instance of the MapboxNavigation is MapboxNavigationApp.

Link copied to clipboard

An interface which enables listening to navigation tiles version switch. Navigator might be switched to a fallback tiles version when there are no enough tiles of the current version to navigate on. It might happen when network is not available and tiles can't be loaded. When connection is restored, navigator will switch back to the target version specified in RoutingTilesOptions (the latest available version if no version is specified). To create additional fallback tiles versions, use the TileStore to create and download offline regions. Otherwise, fallback candidates will only be the tiles versions from the ambient cache.

Link copied to clipboard

Callback to be invoked when the information about available road graph data updates is received. See MapboxNavigation.requestRoadGraphDataUpdate.

Link copied to clipboard

Class containing information about road graph version.

Link copied to clipboard

Observer that is notified of routes being invalidated.

Link copied to clipboard

Class containing information about invalidated routes.

Link copied to clipboard
fun interface RoutesSetCallback

Interface definition for a callback that gets notified whenever routes passed to MapboxNavigation.setNavigationRoutes are set or produce an error and ignored.

Link copied to clipboard

Result when a route failed to be set.

Link copied to clipboard

Result when the primary route has been successfully set and we can begin Active Guidance.

Link copied to clipboard

Callback invoked when MapboxNavigation.resetTripSession finishes.