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 kept within the local cache, for further offline use, without further updating.

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

This policy is equivalent to either:

Link copied to clipboard

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

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.