MoEPushHelper

class MoEPushHelper

Helper class for push related hooks.

Author

Umang Chamaria

Types

Companion
Link copied to clipboard
object Companion

Functions

isFromMoEngagePlatform
Link copied to clipboard
fun isFromMoEngagePlatform(pushPayload: Bundle): Boolean
Checks whether the FCM message was being delivered from the MoEngage Platform or not
fun isFromMoEngagePlatform(pushPayload: Map<String, String>): Boolean
Checks whether the FCM message was being delivered from the MoEngage Platform or not
isSilentPush
Link copied to clipboard
fun isSilentPush(@NonNull() pushPayload: Map<String, String>): Boolean
Checks if the given payload is a Silent Notification or not.
logNotificationClick
Link copied to clipboard
fun logNotificationClick(context: Context, intent: Intent)
Track notification click.
logNotificationReceived
Link copied to clipboard
fun logNotificationReceived(context: Context, notificationPayload: Map<String, String>)
Tracks notification impression.

Properties

messageListener
Link copied to clipboard
var messageListener: PushMessageListener