SpeedCameraMatcher

class SpeedCameraMatcher(speedCameraSource: SpeedCameraSource, backgroundDispatcher: CoroutineDispatcher, remoteConfig: SpeedCamerasRemoteConfig, logger: Logger, appStore: AppStore, observeEnhancedLocationUseCase: ObserveEnhancedLocationUseCase) : MapboxNavigationObserver

Constructors

Link copied to clipboard
constructor(speedCameraSource: SpeedCameraSource, backgroundDispatcher: CoroutineDispatcher, remoteConfig: SpeedCamerasRemoteConfig, logger: Logger, appStore: AppStore, observeEnhancedLocationUseCase: ObserveEnhancedLocationUseCase)

Functions

Link copied to clipboard

This method will never exit. observer will be notified about changes in the cameras around until coroutine is canceled.

Link copied to clipboard
Link copied to clipboard
open override fun onAttached(mapboxNavigation: MapboxNavigation)
Link copied to clipboard
open override fun onDetached(mapboxNavigation: MapboxNavigation)