Webcom Android SDK Public API Reference / com.orange.webcom.sdkv2.datasync / SubscriptionCancellationPolicy

SubscriptionCancellationPolicy

enum class SubscriptionCancellationPolicy

Represents the policy to apply to the data stored within the local cache that are watched by a subscription when cancelling this subscription. This data may be either kept and still updated (as long as the network connectivity is up) after the cancellation, or cleared from the local cache.

Enum Values

KeepUpdatingData

The data watched by the cancelled subscription is kept within the local cache whatever the way of cancelling the subscription.

KeepUpdatingDataWhenImplicit

The data watched by the cancelled subscription is:

ClearData

The data watched by the cancelled subscription is cleared from the local cache whatever the way of cancelling the subscription.