DriverNotificationManager
Manages driver notification providers and aggregates their notifications.
The DriverNotificationManager is responsible for managing multiple DriverNotificationProvider instances, collecting their notifications, and exposing them as a single flow of DriverNotification objects.
This class allows applications to dynamically attach and detach notification providers and observe the notifications they generate.
Parameters
configuration options for the manager
See also
for the base class of notification providers
for the base notification type
Constructors
Functions
Attaches one or more DriverNotificationProvider instances to the manager.
Detaches one or more DriverNotificationProvider instances from the manager.
Observes the notifications generated by all attached providers.
Called when the manager is attached to a MapboxNavigation instance.
Called when the manager is detached from a MapboxNavigation instance.