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.
sealed class Change : DataEvent
Notification that some data has changed. |
|
class Revocation : DataEvent
Notification that a subscription has been revoked by the Webcom back end. |
val application: String
Name (or identifier) of the WebcomApplication concerned by the received notification. |
|
val path: String
|
fun build(msgData: Map<String, String>): DataEvent
Builds a DataEvent instance from the data conveyed by a received remote Firebase Message. |
sealed class Change : DataEvent
Notification that some data has changed. |
|
class Revocation : DataEvent
Notification that a subscription has been revoked by the Webcom back end. |