Subscription Options
data class SubscriptionOptions @JvmOverloads constructor(val includesAcknowledgements: Boolean = false, val completionPolicy: CancelationPolicy? = null)
Content copied to clipboard
Represents some options to customize the behavior of a subscription that receives notifications through a callback function.
Constructors
Link copied to clipboard
fun SubscriptionOptions(includesAcknowledgements: Boolean = false, completionPolicy: CancelationPolicy? = null)
Content 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.