CarNotificationInterceptor

class CarNotificationInterceptor : MapboxNavigationObserver

Register this observer using MapboxNavigationApp.registerObserver. As long as it is registered, the trip notification will be shown in the car using MapboxNavigation.setTripNotificationInterceptor.

Constructors

Link copied to clipboard
fun CarNotificationInterceptor(context: Context, carAppServiceClass: Class<out CarAppService>)

Functions

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