Push Notifications Service
interface PushNotificationsService
Service for managing the authenticated user's push notification device registration.
Functions
Link copied to clipboard
Removes the push notification registration for the current device.
Link copied to clipboard
open fun deregisterPushNotificationDeviceAsync(cancellationSignal: CancellationSignal?, callback: WalletCallback<Unit>)
Asynchronously removes the push notification registration for the current device.
Link copied to clipboard
Retrieves the push notification registration details for the current device.
Link copied to clipboard
open fun getPushNotificationDeviceAsync(cancellationSignal: CancellationSignal?, callback: WalletCallback<DeviceManagementResponse>)
Asynchronously retrieves the push notification registration details for the current device.
Link copied to clipboard
abstract suspend fun registerPushNotificationDevice(request: DeviceManagementRegisterRequest): DeviceManagementResponse
Registers the current device for push notifications, or replaces an existing registration.
Link copied to clipboard
open fun registerPushNotificationDeviceAsync(request: DeviceManagementRegisterRequest, cancellationSignal: CancellationSignal?, callback: WalletCallback<DeviceManagementResponse>)
Asynchronously registers the current device for push notifications, or replaces an existing registration.