Subscription Options
data class SubscriptionOptions @JvmOverloads constructor(val includesAcknowledgements: Boolean = false, val completionPolicy: CancelationPolicy? = null)
Represents some options to customize the behavior of a subscription that receives notifications through a callback function.
Constructors
Link copied to clipboard
Properties
Link copied to clipboard
Specifies the behavior of the subscription on the data stored in the local cache when it is canceled or revoked. It may either clear or keep the watched data. If null
, it aligns on the DatasyncManager.policy property of the DatasyncManager that fires the subscription.
Link copied to clipboard
Indicates whether acknowledgements from the back end must be notified (together with regular data events).