InAppNotificationCallback
This interface represents call back methods implemented in InAppNotificationViewBinder to listen for InAppNotification displayed events, action click events, and dismiss events.
This interface represents call back methods implemented in InAppNotificationViewBinder to listen for InAppNotification displayed events, action click events, and dismiss events
Syntax: interface InAppNotificationCallback
Functions
Name | Description |
---|---|
onNotificationClicked | This method will be invoked when InApp Notification action clicked |
onNotificationDismissed | This method will be invoked when InApp Notification dismissed |
onNotificationDisplayed | This method will be invoked when InApp Notification displayed |
onNotificationClicked
This method will be invoked when InApp Notification action clicked.
Syntax: abstract fun onNotificationClicked(message: PushMessage?, action: String?, value: String?)
Parameters:
Parameters | Type | Description |
---|---|---|
message | PushMessage | The received Push Message. |
action | String | action to perform when the interaction takes place |
value | String | value is used to complete certain actions. |
onNotificationDismissed
This method will be invoked when InApp Notification dismissed
Syntax: abstract fun onNotificationDismissed(message: PushMessage?)
Parameters:
Parameters | Type | Description |
---|---|---|
message | PushMessage | The received Push Message. |
onNotificationDisplayed
This method will be invoked when InApp Notification displayed.
Syntax: abstract fun onNotificationDisplayed(message: PushMessage?)
Parameters:
Parameters | Type | Description |
---|---|---|
message | PushMessage | The received Push Message. |
Updated about 1 month ago