Ditto Sync
Provides access to sync related functionality of Ditto.
Since
4.5.0
Types
Functions
Link copied to clipboard
fun registerSubscription(query: String, arguments: Map<String, Any>? = null): DittoSyncSubscription
Content copied to clipboard
Installs and returns a sync subscription for a query, configuring Ditto to receive updates from other peers for documents matching that query. The given query must be a SELECT
query, otherwise a DittoError.StoreError with DittoError.StoreErrorReason.QueryNotSupported is thrown.