NotificationPayload

open class NotificationPayload

Notification Payload Model.

Author

Umang Chamaria

Constructors

NotificationPayload
Link copied to clipboard
open fun NotificationPayload(payloadBundle: Bundle)

Functions

toString
Link copied to clipboard
open fun toString(): String

Properties

actionButtonList
Link copied to clipboard
open val actionButtonList: List<ActionButton>
List of Action buttons
autoDismissTime
Link copied to clipboard
open val autoDismissTime: Long
Time at which the notification should be cleared if not done already.
campaignId
Link copied to clipboard
open val campaignId: String
Unique identifier for each campaign.
campaignTag
Link copied to clipboard
open val campaignTag: String
Tag for the specific campaign.
channelId
Link copied to clipboard
open val channelId: String
Channel to which notification should be posted.
defaultAction
Link copied to clipboard
open val defaultAction: String
Deep-link/Activity to be opened on notification click.
enableDebugLogs
Link copied to clipboard
open val enableDebugLogs: Boolean
Enable sdk logs if required.
hasHtmlContent
Link copied to clipboard
open val hasHtmlContent: Boolean
If true, default content has HTML text.
imageUrl
Link copied to clipboard
open val imageUrl: String
Url of the image to be shown in the notification.
inboxExpiry
Link copied to clipboard
open val inboxExpiry: Long
Time at which notification should be deleted from inbox.
isPersistent
Link copied to clipboard
open val isPersistent: Boolean
If true notification will not be cleared on swiping.
isRichPush
Link copied to clipboard
open val isRichPush: Boolean
If true payload has push template.
largeIconUrl
Link copied to clipboard
open val largeIconUrl: String
Notification large icon url
notificationType
Link copied to clipboard
open val notificationType: String
payload
Link copied to clipboard
open val payload: Bundle
Payload received from FCM in bundle format.
pushToInbox
Link copied to clipboard
open val pushToInbox: Boolean
If true notification is pushed to inbox only and not shown in the drawer.
shouldDismissOnClick
Link copied to clipboard
open val shouldDismissOnClick: Boolean
If true notification is dismissed on click.
shouldIgnoreInbox
Link copied to clipboard
open val shouldIgnoreInbox: Boolean
If true do not write to inbox.
shouldShowMultipleNotification
Link copied to clipboard
open val shouldShowMultipleNotification: Boolean
If true, the incoming notification does not override the existing notification(if any)
sound
Link copied to clipboard
open val sound: String
Notification tone
text
Link copied to clipboard
open val text: NotificationText
Notification Text