Package com.mapbox.navigation.core

Types

Link copied to clipboard
class DeveloperMetadata

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

Link copied to clipboard
fun interface DeveloperMetadataObserver
Link copied to clipboard
class EtcGateApi

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

Link copied to clipboard
class EtcGateInfo(val id: Int, val monotonicTimestampNanoseconds: Long)

Class containing information about ETC gate.

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
object NavigationSdkInformationProvider

A class that provides Navigation SDK information, like version name

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 RoutesInvalidatedObserver

Observer that is notified of routes being invalidated.

Link copied to clipboard
class RoutesInvalidatedParams

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
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.

Link copied to clipboard
fun interface TripSessionResetCallback

Callback invoked when MapboxNavigation.resetTripSession finishes.