io.realm.mongodb.push
The Push client allows to register/deregister for push notifications from a client app.
Constructors
Constructor and Description |
|---|
Method Summary
Modifier and Type | Method and Description |
|---|---|
public void | Deregisters the FCM registration token bound to the currently logged in user's device on MongoDB Realm. |
public RealmAsyncTask | Deregisters the FCM registration token bound to the currently logged in user's device on MongoDB Realm. |
public void | Registers the given FCM registration token with the currently logged in user's device on MongoDB Realm. |
public RealmAsyncTask | String registrationToken, ) Registers the given FCM registration token with the currently logged in user's device on MongoDB Realm. |
Inherited Methods
Methods inherited from class java.lang.Object :
getClass,hashCode,equals,clone,toString,notify,notifyAll,wait,wait,wait,finalize
Constructor Detail
Method Detail
deregisterDevice
public void deregisterDevice () |
|---|
Deregisters the FCM registration token bound to the currently logged in user's device on MongoDB Realm. |
deregisterDeviceAsync
public RealmAsyncTask deregisterDeviceAsync ( ) |
|---|
Deregisters the FCM registration token bound to the currently logged in user's device on MongoDB Realm. Parameters
|
registerDevice
Registers the given FCM registration token with the currently logged in user's device on MongoDB Realm. Parameters
|
registerDeviceAsync
Registers the given FCM registration token with the currently logged in user's device on MongoDB Realm. Parameters
|