MiPushEventListener

open class MiPushEventListener

Class definition for callbacks related to Mi Push events.

Author

Umang Chamaria

Since

2.0.00 Date: 2020/08/24

Constructors

MiPushEventListener
Link copied to clipboard
fun MiPushEventListener()

Functions

onNonMoEngageNotificationClicked
Link copied to clipboard
open fun onNonMoEngageNotificationClicked(context: Context, message: MiPushMessage)

Callback triggered when the click notification isn't sent from MoEngage Platform.

onNonMoEngagePassThroughMessage
Link copied to clipboard
open fun onNonMoEngagePassThroughMessage(context: Context, message: MiPushMessage)

Callback triggered when a pass through message is received which isn't from MoEngage Platform.

onTokenAvailable
Link copied to clipboard
open fun onTokenAvailable(token: String)

Callback triggered whenever push token is generated.