RouteClosureNotificationProvider
class RouteClosureNotificationProvider(var options: RouteClosureNotificationOptions = RouteClosureNotificationOptions.Builder()
.build()) : DriverNotificationProvider
Provides notifications about road closures detected on the current route.
Emits:
RouteClosureMonitoringNotification when a closure is detected beyond the configured threshold.
RouteClosureAlternativeNotification when a closure within the threshold is detected and a routes update arrives carrying a closure alternative (request
reason=closure).RouteClosureResolvedNotification when no closure beyond the threshold is present.
Parameters
options
configuration options for the provider
See also
for configuring the provider
Constructors
Link copied to clipboard
constructor(options: RouteClosureNotificationOptions = RouteClosureNotificationOptions.Builder()
.build())