Share via


RemoteCallbackList.FrozenCalleePolicyEnqueueMostRecent 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, only the most recent callback is enqueued, which is later invoked after the recipient is unfrozen.

[Android.Runtime.Register("FROZEN_CALLEE_POLICY_ENQUEUE_MOST_RECENT", 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 FrozenCalleePolicyEnqueueMostRecent = 2;
[<Android.Runtime.Register("FROZEN_CALLEE_POLICY_ENQUEUE_MOST_RECENT", 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 FrozenCalleePolicyEnqueueMostRecent : Android.OS.FrozenCalleePolicy

Field Value

Value = 2
Attributes

Remarks

When the callback recipient's process is frozen, only the most recent callback is enqueued, which is later invoked after the recipient is unfrozen.

This can be used when only the most recent state matters, for instance when clients are listening to screen brightness changes.

Java documentation for android.os.RemoteCallbackList.FROZEN_CALLEE_POLICY_ENQUEUE_MOST_RECENT.

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