UniqueOnly

class UniqueOnly(subscriptionId: String) : DeliveryMode

The subscription will receive the most recent state update when transitioning from locked to unlocked states (stopped -> started), only if the state has changed while locked. This will include the initial state as a state update.

Likewise, when a MavericksView resubscribes after a configuration change the most recent update will only be emitted if the state has changed while locked.

Parameters

subscriptionId

A uniqueIdentifier for this subscription. It is an error for two unique only subscriptions to have the same id.

Constructors

UniqueOnly
Link copied to clipboard
fun UniqueOnly(subscriptionId: String)

Properties

subscriptionId
Link copied to clipboard
open override val subscriptionId: String