unsubscribe With Huawei Notifications
fun unsubscribeWithHuaweiNotifications(deviceId: String, callback: OnComplete? = null)
Content copied to clipboard
Unsubscribes from NotificationEvents on the current data node path, so that no longer HMS (Huawei Mobile Service) push mobile notifications are sent to the given deviceId. This operation requires to be authenticated.
Parameters
device Id
The device identifier where to stop sending notifications (to be retrieved using the HMS Push Kit libraries).
callback
The callback called when the unsubscription is acknowledged by the server.