Push Message Listener
open class PushMessageListener
Content copied to clipboard
This class is a callback for the push message delivery. In order to modify the behavior simply extend this class and override methods
Since
5.3
Author
Umang Chamaria
Constructors
PushMessageListener
Link copied to clipboard
fun PushMessageListener()
Content copied to clipboard
Functions
customizeNotification
Link copied to clipboard
open fun customizeNotification(notification: Notification, context: Context, payload: Bundle)
Content copied to clipboard
dismissNotificationAfterClick
Link copied to clipboard
getIntentFlags
Link copied to clipboard
getNotificationId
Link copied to clipboard
getRedirectIntent
Link copied to clipboard
handleCustomAction
Link copied to clipboard
isNotificationRequired
Link copied to clipboard
open fun isNotificationRequired(context: Context, payload: Bundle): Boolean
Content copied to clipboard
logCampaignImpression
Link copied to clipboard
logNotificationClicked
Link copied to clipboard
onCreateNotification
Link copied to clipboard
open fun onCreateNotification(context: Context, notificationPayload: NotificationPayload): NotificationCompat.Builder
Content copied to clipboard
Build the notification using NotificationCompat.BuilderOverride this method to customise the NotificationCompat.Builder.
onHandleRedirection
Link copied to clipboard
onMessageReceived
Link copied to clipboard
onNonMoEngageMessageReceived
Link copied to clipboard
onNotificationCleared
Link copied to clipboard
onNotificationNotRequired
Link copied to clipboard
onNotificationReceived
Link copied to clipboard