Subscription
interface Subscription
Content copied to clipboard
A subscription defines a specific server query and its metadata. The result of this query is continuously being synchronized with the device as long as the subscription is part of a SubscriptionSet with a state of SubscriptionSetState.COMPLETE.
Subscriptions can be updated using MutableSubscriptionSet.add with updateExisting = true
.
Functions
asQuery
Link copied to clipboard
Converts the Subscription.queryDescription back to a RealmQuery that can be executed against the local Realm.
Properties
createdAt
Link copied to clipboard
objectType
Link copied to clipboard
queryDescription
Link copied to clipboard
The subscription query that is running on objects of type objectType.
updatedAt
Link copied to clipboard
Extensions
asQuery
Link copied to clipboard
Converts the Subscription.queryDescription back to a RealmQuery that can be executed against the local Realm.