android-components / mozilla.components.support.ktx.android.notification

Package mozilla.components.support.ktx.android.notification

Types

Name Summary
ChannelData class ChannelData
Wraps the data of a NotificationChannel as this class is available after API 26.

Functions

Name Summary
ensureNotificationChannelExists fun ensureNotificationChannelExists(context: <ERROR CLASS>, channelDate: ChannelData, onSetupChannel: <ERROR CLASS>.() -> Unit = {}, onCreateChannel: <ERROR CLASS>.() -> Unit = {}): String
Make sure a notification channel exists.