class PushNotification
PushNotification
()
|
Signature
constructor() Returns
PushNotification
|
register
()
|
Register the device to receive push notification. The registered notification id can be fetched by PushNotificationResult.id.
Signature
suspend fun register(): PushNotificationResult Returns
PushNotificationResult
|
unregister
()
|
Unregister the device from receiving push notifications. Returns a boolean to indicate successful/unsuccessful unregistration.
Signature
suspend fun unregister(): Boolean Returns
Boolean
|