Push Notifications Configuration
data class PushNotificationsConfiguration @JvmOverloads constructor(val pushEnabled: Boolean = true, var accentColor: Int? = null, var channelName: String = DEFAULT_NOTIFICATION_CHANNEL_NAME, var channelDescription: String = DEFAULT_NOTIFICATION_CHANNEL_DESCRIPTION, var channelId: String = DEFAULT_NOTIFICATION_CHANNEL_ID, @DrawableRes var pushIconResId: Int? = null)
Configuration for displaying push notifications
Constructors
Link copied to clipboard
Properties
Link copied to clipboard
Accent color of push notification icon and buttons. A color value, not resource id is expected here, e.g. context.resources.getColor(R.color.something)
Link copied to clipboard
Channel description for push notifications. Only for API level 26+.
Link copied to clipboard
Channel name for push notifications. Only for API level 26+.
Link copied to clipboard
Whether push notifications handling is enabled or not
Link copied to clipboard
Icon to be showed in push notifications. A drawable resource id expected.