TokenAvailableListener

Deprecated

FCM has deprecated the registration token. This API stops working when FCM removes the legacy token support, or it will be removed in MoEngage-Android-SDK version 16.00.00. Use InstallationIdAvailableListener instead.

Interface definition for a callback that is invoked whenever push token is generated or updated available.

Author

Umang Chamaria

Since

12.0.00

Functions

Link copied to clipboard
@MainThread
abstract fun onTokenAvailable(token: Token)

Callback triggered when token is available