DataEvent

sealed class DataEvent

Represents a notification received through the Firebase Cloud Messaging service from the Webcom back end in response to a Subscription previously set up using one of the DatasyncNode.subscribeThroughNotifications methods.

Instances of this class must be build using the build factory.

Types

Change
Link copied to clipboard
sealed class Change : DataEvent
Notification that some data has changed.
Companion
Link copied to clipboard
object Companion
Exposes the static method to build a DataEvent instance from a message received by the device.
Revocation
Link copied to clipboard
class Revocation : DataEvent
Notification that a subscription has been revoked by the Webcom back end.

Properties

application
Link copied to clipboard
val application: String
Name (or identifier) of the WebcomApplication concerned by the received notification.
path
Link copied to clipboard
val path: String
/-separated path of the DatasyncNode concerned by the received notification.

Inheritors

DataEvent
Link copied to clipboard
DataEvent
Link copied to clipboard