Share via


RemoteCallbackList.FrozenCalleePolicyDrop 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 suppressed as if they never happened.

[Android.Runtime.Register("FROZEN_CALLEE_POLICY_DROP", 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 FrozenCalleePolicyDrop = 3;
[<Android.Runtime.Register("FROZEN_CALLEE_POLICY_DROP", 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 FrozenCalleePolicyDrop : Android.OS.FrozenCalleePolicy

Field Value

Value = 3
Attributes

Remarks

When the callback recipient's process is frozen, callbacks are suppressed as if they never happened.

This could be useful in the case where the recipient wishes to react to callbacks only when they occur while the recipient is not frozen. For example, certain network events are only worth responding to if the response can be immediate. Another example is recipients having another way of getting the latest state once it's unfrozen. Therefore there is no need to save callbacks that happened while the recipient was frozen.

Java documentation for android.os.RemoteCallbackList.FROZEN_CALLEE_POLICY_DROP.

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