MoEMiPushHelper
Helper class for MoEngage Mi Push Module
Author
Umang Chamaria Date: 2020/08/24
Since
2.0.00
Types
Functions
addEventListener
Link copied to clipboard
Add an event listener to receive callbacks when MoEngage SDK's PushMessageReceiver is used.
isFromMoEngagePlatform
Link copied to clipboard
Helper API to check if the received message is from MoEngage Platform.
onNotificationClicked
Link copied to clipboard
fun onNotificationClicked(@NonNull context: Context, message: MiPushMessage)
Content copied to clipboard
Helper API to pass the click callback received from Mi to MoEngage. This API takes care of redirection as well. Do not add logic to redirect the user SDK will take care of it.
passPushPayload
Link copied to clipboard
Helper API to pass the Pass Through Message from Mi.
passPushToken
Link copied to clipboard
Helper API to pass the push token to the MoEngage platform.
removeEventListener
Link copied to clipboard
Remove an already added MiPushEventListener
setEventListener
Link copied to clipboard
Set event listener to receive callbacks when the MoEngage SDK is handling push.