RemoteCallbackList.FrozenCalleePolicyEnqueueAll Field

Definition

Caution

This constant will be removed in the future version. Use Android.OS.FrozenCalleePolicy enum directly instead of this field.

When the callback recipient's process is frozen, callbacks are enqueued so they're invoked after the recipient is unfrozen.

[Android.Runtime.Register("FROZEN_CALLEE_POLICY_ENQUEUE_ALL", ApiSince=36)]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.FrozenCalleePolicy enum directly instead of this field.", true)]
public const Android.OS.FrozenCalleePolicy FrozenCalleePolicyEnqueueAll = 1;
[<Android.Runtime.Register("FROZEN_CALLEE_POLICY_ENQUEUE_ALL", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.FrozenCalleePolicy enum directly instead of this field.", true)>]
val mutable FrozenCalleePolicyEnqueueAll : Android.OS.FrozenCalleePolicy

Field Value

Value = 1
Attributes

Remarks

When the callback recipient's process is frozen, callbacks are enqueued so they're invoked after the recipient is unfrozen.

This is commonly used when the recipient wants to receive all callbacks without losing any history, e.g. the recipient maintains a running count of events that occurred.

Queued callbacks are invoked in the order they were originally broadcasted.

Java documentation for android.os.RemoteCallbackList.FROZEN_CALLEE_POLICY_ENQUEUE_ALL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to