Subscription Cancelation Policy
enum SubscriptionCancelationPolicy : Enum<SubscriptionCancelationPolicy>
Content copied to clipboard
Represents the policy to apply to the data stored within the local cache that are watched by a subscription when canceling this subscription. This data may be either kept and still updated (as long as the network connectivity is up) after the cancelation, or cleared from the local cache.
Entries
KeepUpdating
Link copied to clipboard
Content copied to clipboard
The data watched by the canceled subscription is kept within the local cache whatever the way of canceling the subscription.
KeepUpdatingWhenImplicit
Link copied to clipboard
Content copied to clipboard
The data watched by the canceled subscription is:
kept within the local cache if it is canceled implicitly, that is automatically canceled by the DatasyncManager when disposed by calling the DatasyncManager.unsubscribeFromAllEvents,
or cleared from the local cache if it is canceled explicitly, that is using the Subscription.cancel method.