Package-level declarations

Exposes the API of the Webcom Realtime Database service (or "datasync" in short).

Types

Link copied to clipboard

Handles a set of subscriptions to data nodes and authentication events.

Link copied to clipboard
class DatasyncNode(manager: DatasyncManager, val path: String) : Subscriber

Represents a data node within the tree-like data of a Webcom application.

Link copied to clipboard
class DatasyncService : WebcomAbstractService, Closeable

The WebcomAbstractService that makes it possible to interact in real time with the data of a Webcom application.

Link copied to clipboard

Represents a write-policy into the Webcom database.

Link copied to clipboard

Represents a tree-like value stored by the Webcom datasync service within its real-time database.

Link copied to clipboard

Type used to publish the user's presence, which the DatasyncService.startPublishingMyPresence and DatasyncService.isPresent methods rely on.

Link copied to clipboard

Represents a write operation to perform on a data node within an atomic transaction.

Link copied to clipboard
data class TransactionResult(val value: DatasyncValue, val hasCompleted: Boolean)

Represents the result of a transaction run by the DatasyncNode.runTransaction method.

Properties

Link copied to clipboard

Convenient shortcut to service(DatasyncService::class to retrieve the unique instance of DatasyncService associated with this WebcomApplication.