unregisterPushHandler

Deprecated

As of 4.17.0, replaced with unregisterHandler(unregisterAllTokens: Boolean, listener: PushRequestCompleteHandler?).

Replace with

SendbirdPushHelper.unregisterHandler(handler = listener)

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

Parameters

listener

Callback handler. (PushRequestCompleteHandler)


Deprecated

As of 4.17.0, replaced with unregisterHandler(unregisterAllTokens: Boolean, listener: PushRequestCompleteHandler?).

Replace with

SendbirdPushHelper.unregisterHandler(unRegisterAll, listener)

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

Parameters

unRegisterAll

if it set as true unregisters all push token bound to the current user.

listener

Callback handler. (PushRequestCompleteHandler)