attachDriverNotificationProvider

fun attachDriverNotificationProvider(vararg driverNotificationProviders: DriverNotificationProvider)

Attaches one or more DriverNotificationProvider instances to the manager.

The attached providers will start generating notifications, which will be collected and exposed through the observeDriverNotifications method.

Parameters

driverNotificationProviders

the providers to attach

Throws

if a provider of the same type is already attached