RouteClosureNotificationProvider

class RouteClosureNotificationProvider(var options: RouteClosureNotificationOptions = RouteClosureNotificationOptions.Builder() .build()) : DriverNotificationProvider

Provides notifications about road closures detected on the current route.

Emits:

Parameters

options

configuration options for the provider

See also

for configuring the provider

Constructors

Link copied to clipboard
constructor(options: RouteClosureNotificationOptions = RouteClosureNotificationOptions.Builder() .build())

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun onAttached(mapboxNavigation: MapboxNavigation)
Link copied to clipboard
open override fun onDetached(mapboxNavigation: MapboxNavigation)
Link copied to clipboard
open override fun trackNotifications(): Flow<DriverNotification>

Tracks notifications generated by the provider.