Package-level declarations

Functions

Link copied to clipboard
suspend fun SendbirdPushHelper.awaitGetPushToken(): String?

Retrieves the current registered token.

Link copied to clipboard
suspend fun SendbirdPushHelper.awaitMarkPushNotificationAsClicked(data: Map<String, String>)

Marks push notification as clicked for push notification click tracking purpose only.

Link copied to clipboard
suspend fun SendbirdPushHelper.awaitMarkPushNotificationAsDelivered(data: Map<String, String>)

Marks push notification as delivered for push delivery tracking purpose only.
This does not mark the message as delivered.
Marking the message as delivered can be done by SendbirdChat.markAsDelivered.

Link copied to clipboard
suspend fun SendbirdPushHelper.awaitUnregisterHandler(unregisterAllTokens: Boolean = false): String?

Unregisters push handler for not receiving FCM/HMS push notifications. When you call this we will request at the server to remove FCM/HMS push token. And you'll not be able to receive any more push notification

Link copied to clipboard
fun SendbirdPushHelper.getPushToken(handler: ResultHandler<String>?)

Retrieves the current registered token.

Link copied to clipboard
fun SendbirdPushHelper.unregisterHandler(unregisterAllTokens: Boolean = false, handler: ResultHandler<String?>?)

Unregisters push handler for not receiving FCM/HMS push notifications. When you call this we will request at the server to remove FCM/HMS push token. And you'll not be able to receive any more push notification