DriverNotificationProvider
abstract class DriverNotificationProvider @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX] ) constructor : MapboxNavigationObserver
Abstract base class for providing driver notifications.
This class serves as a parent for specific notification providers that generate and track notifications for drivers during navigation.
Subclasses of DriverNotificationProvider
should implement the logic for generating notifications and provide a Flow
of DriverNotification
instances through the trackNotifications
method.
See also
for the base notification type.