Exposes the API of the Webcom Realtime Database service (or "datasync" in short).
open class Child : Type
Represents the type of events raised when something happens to some child of a data node. |
|
data class ChildEvent : Event
Notification of a subscribed Child event type to a callback function (previously passed to one of the DatasyncNode.subscribe methods). |
|
sealed class Constraint
Represents constraints on the values of data nodes sent by subscriptions. |
|
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. |
|
class DatasyncManager
Handles a set of subscriptions to data nodes and authentication events. |
|
class DatasyncNode : Subscriber
Represents a data node within the tree-like data of a Webcom application. |
|
class DatasyncService : WebcomAbstractService
The WebcomAbstractService that makes it possible to interact in real time with the data of a Webcom application. |
|
data class DatasyncState
Represents some state indicators about a DatasyncService instance. |
|
enum class DatasyncTime
Represents a write policy into the Webcom database. |
|
class DatasyncValuable
Represents a tree-like value stored by the Webcom datasync service within its real-time database. |
|
sealed class Event
Represents a notification received by a callback function (previously passed to one of the DatasyncNode.subscribe methods) from the Webcom back end in response to a Subscription. |
|
abstract class Subscriber
Base class for all subscription-related methods. |
|
interface Subscription
Represents a subscription to some event type on a data node. Such a subscription can be made using one of the DatasyncNode.subscribe, DatasyncNode.subscribeThroughNotifications or DatasyncNode.subscribeThroughWebhook methods. |
|
enum class SubscriptionCancellationPolicy
Represents the policy to apply to the data stored within the local cache that are watched by a subscription when cancelling this subscription. This data may be either kept and still updated (as long as the network connectivity is up) after the cancellation, or cleared from the local cache. |
|
sealed class TransactionOperation
Represents a write operation to perform on a data node within an atomic transaction. |
|
data class TransactionResult
Represents the result of a transaction run by the DatasyncNode.runTransaction method. |
|
sealed class Type
Represents the type of event to subscribe to. |
|
sealed class ValueChanged : Type
Represents the type of events raised when the value of a data node changes. |
|
data class ValueChangedWithDataEvent : Event
Notification of a subscribed ValueChanged.WithData event type to a callback function (previously passed to one of the DatasyncNode.subscribe methods). |
|
data class ValueChangedWithoutDataEvent : Event
Notification of a subscribed ValueChanged.WithoutData event type to a callback function (previously passed to one of the DatasyncNode.subscribe methods). |
typealias PresenceState = ISO8601Date
Type used to publish the user's presence, which the DatasyncService.startPublishingMyPresence and DatasyncService.isPresent methods rely on. |