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