Companion
object Companion
Functions
Link copied to clipboard
fun create(notificationBuilder: NotificationManager.NotificationBuilder): NotificationCustomizationOptions
Creates a NotificationCustomizationOptions with only a NotificationManager.NotificationBuilder. This options leaves everything about setting up the notification up to you. See "Option two" in the class documentation for more details.
Creates a NotificationCustomizationOptions with only the notification's small icon resource id. This is the simplest approach to notifications in the SDK. Everything else will be handled by the SDK.
fun create(@DrawableRes smallIconResId: Int, launchIntentProvider: NotificationManager.NotificationLaunchIntentProvider?, channelIdProvider: NotificationManager.NotificationChannelIdProvider?): NotificationCustomizationOptions
Created a NotificationCustomizationOptions with the notification's small icon resource id and optional instances of NotificationManager.NotificationLaunchIntentProvider and NotificationManager.NotificationChannelIdProvider.