RemoteCallbackList.Builder.SetMaxQueueSize(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the max queue size.
[Android.Runtime.Register("setMaxQueueSize", "(I)Landroid/os/RemoteCallbackList$Builder;", "", ApiSince=36)]
public Android.OS.RemoteCallbackList.Builder SetMaxQueueSize(int maxQueueSize);
[<Android.Runtime.Register("setMaxQueueSize", "(I)Landroid/os/RemoteCallbackList$Builder;", "", ApiSince=36)>]
member this.SetMaxQueueSize : int -> Android.OS.RemoteCallbackList.Builder
Parameters
- maxQueueSize
- Int32
The max size limit on the queue that stores callbacks added when the recipient's process is frozen. Once the limit is reached, the oldest callback is dropped to keep the size under the limit. Should only be called for RemoteCallbackList.FROZEN_CALLEE_POLICY_ENQUEUE_ALL .
Returns
This builder. This value cannot be null.
- Attributes
Remarks
Sets the max queue size.
Java documentation for android.os.RemoteCallbackList.Builder.setMaxQueueSize(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.