Webcom Android SDK Public API Reference / com.orange.webcom.sdkv2.datasync / Event

Event

sealed class Event

Represents a notification received by a Callback function from the Webcom back end in response to a Subscription.

The subclasses of this class directly correspond to the subscribed event type.

Properties

node

abstract val node: DatasyncNode

The data node watched by the subscription.

subscription

abstract val subscription: Subscription

The Subscription instance that sends this notification Event.

Inheritors

ChildEvent

data class ChildEvent : Event

Notification of a subscribed Child event type to a Callback function.

ValueChangedWithDataEvent

data class ValueChangedWithDataEvent : Event

Notification of a subscribed ValueChanged.WithData event type to a Callback function.

ValueChangedWithoutDataEvent

data class ValueChangedWithoutDataEvent : Event

Notification of a subscribed ValueChanged.WithoutData event type to a Callback function.