Package-level declarations

Types

Link copied to clipboard

The method of this interface will be called by CarNavigationFocusManager

Link copied to clipboard
class CarNavigationFocusManager(carServiceProvider: CarServiceProvider, dispatcher: CoroutineDispatcher, carNavigationFocusListener: CarNavigationFocusListener, stopNavigation: StopNavigationUseCase) : NavigationFocusManager
Link copied to clipboard
class DisableDefaultArrivalControllerUseCase : MapboxNavigationObserver
Link copied to clipboard
class Failed(val error: AppError) : RerouteResult
Link copied to clipboard
class HandleRerouteOnWaypointArrivalUseCase(appStore: AppStore, fetchRoutes: FetchRoutesUseCase, locationRepository: LocationRepository) : MapboxNavigationObserver

This UseCase is to workaround bug with MapboxNavigation with custom arrival logic.

Link copied to clipboard
Link copied to clipboard
class IgnitionSwitchedOffAfterArrivalUseCase(observeIsDestinationArrival: ObserveDestinationArrivalUseCase, ignitionStatusRepository: IgnitionStatusRepository)
Link copied to clipboard
class LeaveAppUseCase(appStore: AppStore)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class NavigationTripSessionHolder(permissionsHelper: LocationPermissionsHelper) : ReplayStarter

The point of this object is to have running MapboxNavigation trip session as long as there are screens open.

Link copied to clipboard
class NavigationViewModel(appStore: AppStore, stopNavigation: StopNavigationUseCase, navigationStateUpdater: NavigationStateUpdater, navigationFocusManager: NavigationFocusManager, observeIsDestinationArrival: ObserveDestinationArrivalUseCase, ignitionSwitchedOffAfterArrivalUseCase: IgnitionSwitchedOffAfterArrivalUseCase) : ViewModel
Link copied to clipboard
Link copied to clipboard
class ObserveRouteLimitSpeedStatusUseCase(preferredSpeedUnitUseCase: PreferredSpeedUnitUseCase)
Link copied to clipboard
class ObserveStreetNameUseCase(locationRepository: LocationRepository)

Use Case that observes LocationMatcherResults and extracts Road information. It returns StreetName.Available with a Road object that contains at least one RoadComponent. Otherwise, it returns StreetName.None.

Link copied to clipboard
class ObserveStreetNameVisibilityUseCase(appStore: AppStore, observeCameraState: ObserveCameraStateUseCase, settingsRepository: SettingsRepository)

Use Case that determines street name visibility. It returns TRUE when application is in State.ActiveGuidance and camera is in tracking mode.

Link copied to clipboard
Link copied to clipboard
class RerouteOnActiveGuidanceUseCase(appStore: AppStore, routesFetcher: RoutesFetcher, observeLocation: ObserveEnhancedLocationUseCase)
Link copied to clipboard
sealed class RerouteResult
Link copied to clipboard
class StartObservingArrivalUseCase(appStore: AppStore, observeEnhancedLocation: ObserveEnhancedLocationUseCase, continueNavigationAfterWaypoint: ContinueNavigationAfterWaypointUseCase, stopNavigationUseCase: StopNavigationUseCase)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class StopPreviewNavigationUseCase(appStore: AppStore, routesFetcher: RoutesFetcher, searchAnalytics: SearchAnalytics)
Link copied to clipboard
Link copied to clipboard
sealed class StreetName
Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun RouteProgress.hasMoreLegs(): Boolean