Subscription
interface Subscription
Content copied to clipboard
Represents a subscription to some event type.
Such a subscription can be made using:
on the DatasyncService, one of the DatasyncNode.subscribe, DatasyncNode.subscribeThroughPushNotification or DatasyncNode.subscribeThroughWebhook methods,
on the AuthenticationService, the AuthenticationService.subscribe method.
Types
Device Identifier
Link copied to clipboard
sealed class DeviceIdentifier
Content copied to clipboard
Identifier of the device that can be used to receive push notifications.
Functions
cancel
Link copied to clipboard
abstract fun cancel()
Content copied to clipboard
Cancels this Subscription, meaning that the associated callback is released and will be no longer called.