Package com.mapbox.navigation.core

Types

Link copied to clipboard
class MapboxNavigation

An entry point for interacting with the Mapbox Navigation SDK.

Link copied to clipboard
object MapboxNavigationProvider

Singleton responsible for ensuring there is only one MapboxNavigation instance.

Link copied to clipboard
interface NavigationVersionSwitchObserver

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
interface RoadGraphDataUpdateCallback

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

Link copied to clipboard
class RoadGraphVersionInfo

Class containing information about road graph version.

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
class RoutesSetError

Result when a route failed to be set.

Link copied to clipboard
class RoutesSetSuccess

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