語言

RemoteCallbackList.Builder.SetMaxQueueSize(Int32) 方法

定義

設定最大隊列大小。

[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

參數

maxQueueSize
Int32

當接收端程序凍結時,儲存回調佇列的最大容量上限會增加。 一旦達到上限,會捨棄最早的回調,以保持大小低於限制。 應該只在RemoteCallbackList.FROZEN_CALLEE_POLICY_ENQUEUE_ALL時才會被叫。

傳回

這個建築商。 這個值不可能為零值。

屬性

備註

設定最大隊列大小。

Java 文件 android.os.RemoteCallbackList.Builder.setMaxQueueSize(int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於