FirebaseEventListener

open class FirebaseEventListener

Class definition for callbacks related to Firebase events.

Extend the class when MoEngage SDK handles the Firebase push registration and message receiving and set the event listener to receive callbacks

Author

Arshiya Khanum

Since

10.3.00

Samples

Constructors

FirebaseEventListener
Link copied to clipboard
fun FirebaseEventListener()

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