Android
class Android(val notificationIconResId: Int, val notificationIconColorResId: Int? = null, val notificationChannelData: NotificationPlatformConfiguration.Android.NotificationChannelData = NotificationChannelData(), val showPushNotification: Boolean = true) : NotificationPlatformConfiguration
Android Notification Customization. Create this object in android source.
Parameters
notificationIconResId
icon ResourceId (R.drawable.ic_notification)
notificationIconColorResId
optional icon color ResourceId (R.color.yellow)
notificationChannelData
optional notification channel data for General or Miscellaneous notifications
showPushNotification
Default value is true, by default when push notification is received it will be shown to user. When set to false, it will not be shown to user, but you can still get notification content using
See also
Constructors
Link copied to clipboard
constructor(notificationIconResId: Int, notificationIconColorResId: Int? = null, notificationChannelData: NotificationPlatformConfiguration.Android.NotificationChannelData = NotificationChannelData(), showPushNotification: Boolean = true)
Types
Link copied to clipboard
class NotificationChannelData(val id: String = "DEFAULT_NOTIFICATION_CHANNEL_ID", val name: String = "General", val description: String = "", val soundUri: String? = null)
By default Notification channel with below configuration is created but you can change it