CancelationPolicy

enum CancelationPolicy : Enum<CancelationPolicy>

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, kept and still updated (as long as the network connectivity is up) after the cancelation, or cleared from the local cache.

Entries

Link copied to clipboard

The data watched by the canceled subscription is cleared from the local cache.

Link copied to clipboard

This policy is equivalent to either:

Link copied to clipboard

The data watched by the canceled subscription is kept within the local cache and is kept being updated. Note that if the subscription has been actually revoked by the back end, then the data cannot be kept being updated and this policy behaves like the Keep one.

Link copied to clipboard

The data watched by the canceled subscription is kept within the local cache, for further offline use, without further updating.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int