registerPushNotificationDeviceAsync

Asynchronously registers the current device for push notifications, or replaces an existing registration.

Parameters

request

The DeviceManagementRegisterRequest with the device push notification token and preferences.

cancellationSignal

A CancellationSignal for canceling the operation.

callback

A callback to handle the result or error asynchronously.