|
delegate void | _OnPushRequestCompleteListener (bool isRegistered, string token) |
|
delegate void | _OnPushRequestCompleteListenerError (SendBirdException e) |
|
delegate void | OnPushTokenReceiveListener (string token, SendBirdException e) |
|
◆ IsDuplicateMessage()
static bool SendBird.SendBirdPushHelper.IsDuplicateMessage |
( |
JsonObject |
remoteMessage | ) |
|
|
inlinestatic |
When you received message you can call this and can figure out whether this message is duplicated.
- Parameters
-
remoteMessage | received FCM/HMS message |
- Returns
true
if it was already sent.
◆ PushToken()
If you need to retrieve the current registration token you can call this.
- Parameters
-
listener | callback listener |
◆ RegisterPushHandler< T >()
static void SendBird.SendBirdPushHelper.RegisterPushHandler< T > |
( |
T |
handler | ) |
|
|
inlinestatic |
◆ UnregisterPushHandler() [1/2]
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
-
◆ UnregisterPushHandler() [2/2]
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
-
The documentation for this class was generated from the following file:
- SendBird/src/SendBirdPushHelper.cs