MoEPushKitHelper

class MoEPushKitHelper

Helper class for HMS PushKit

Author

Umang Chamaria

Since

1.0.0

Types

Companion
Link copied to clipboard
object Companion

Functions

addEventListener
Link copied to clipboard
fun addEventListener(@NonNull listener: PushKitEventListener)

Add an event listener to receive callbacks when MoEngage SDK's HmsMessageService is used.

passPushToken
Link copied to clipboard
fun passPushToken(@NonNull context: Context, pushToken: String)

Pass PushKit push token to the MoEngage SDK.

removeEventListener
Link copied to clipboard
fun removeEventListener(@NonNull listener: PushKitEventListener)

Remove an already added PushKitEventListener

setEventListener
Link copied to clipboard
fun setEventListener(@NonNull listener: PushKitEventListener)

Set the listener to receive callbacks in Application when MoEngage SDK is handling the push registration and message