Share via


RemoteCallbackList.Builder(Int32) Constructor

Definition

Creates a Builder for RemoteCallbackList.

[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=36)]
public Builder(int frozenCalleePolicy);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=36)>]
new Android.OS.RemoteCallbackList.Builder : int -> Android.OS.RemoteCallbackList.Builder

Parameters

frozenCalleePolicy
Int32

When the callback recipient's process is frozen, this parameter specifies when/whether callbacks are invoked. It's important to choose a strategy that's right for the use case. Leaving the policy unset with #FROZEN_CALLEE_POLICY_UNSET is not recommended as it allows callbacks to be invoked while the recipient is frozen.

Attributes

Remarks

Creates a Builder for RemoteCallbackList.

Java documentation for android.os.RemoteCallbackList.Builder.RemoteCallbackList$Builder(int).

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