InitialSubscriptionsCallback

Callback used to populate the initial SubscriptionSet when opening a Realm.

This is configured through SyncConfiguration.Builder.initialSubscriptions.

Functions

Link copied to clipboard
abstract fun MutableSubscriptionSet.write(realm: Realm)

Closure for adding or modifying the initial SubscriptionSet, with the MutableSubscriptionSet as the receiver. This mirrors the API when using SubscriptionSet.update and allows for the following pattern: