NotificationChannelRegistry

Compatibility class for registering notification channels.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Like createNotificationChannel, but on Android O and above, the channel will not be created with the NotificationManager until it is accessed with getNotificationChannel.

Link copied to clipboard

Adds a notification channel and saves it to disk. This method is a no-op if a channel is already created with the same identifier. On Android O and above, this method will also create an equivalent NotificationChannel with NotificationManager.

Link copied to clipboard

Deletes a notification channel, by identifier. On Android O and above, this method will also delete the equivalent NotificationChannel on NotificationManager.

Link copied to clipboard

Gets a notification channel by identifier.

Link copied to clipboard

Gets a notification channel by identifier.

Link copied to clipboard

Gets a notification channel by identifier.