PushKitEventListener

open class PushKitEventListener

Class definition for callbacks related to PushKit events. Extend the class when MoEngage SDK handles the HMS push registration and message receiving.

Author

Arshiya Khanum

Since

1.0.00

Constructors

PushKitEventListener
Link copied to clipboard
fun PushKitEventListener()

Functions

onNonMoEngageMessageReceived
Link copied to clipboard
open fun onNonMoEngageMessageReceived(remoteMessage: RemoteMessage)

Callback triggered when push message received isn't from MoEngage Platform

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

Callback invoked on token received