InitialSubscriptionsConfiguration

data class InitialSubscriptionsConfiguration(val callback: InitialSubscriptionsCallback, val rerunOnOpen: Boolean)

Configuration options if SyncConfiguration.Builder.initialSubscriptions is enabled.

Constructors

Link copied to clipboard
constructor(callback: InitialSubscriptionsCallback, rerunOnOpen: Boolean)

Properties

Link copied to clipboard

The callback that will be called in order to populate the initial SubscriptionSet for the realm.

Link copied to clipboard

The default behavior is that callback is only invoked the first time the Realm is opened, but if rerunOnOpen is true, it will be invoked every time the realm is opened.