Share via


Flow.DefaultBufferSize Method

Definition

Returns a default value for Publisher or Subscriber buffering, that may be used in the absence of other constraints.

[Android.Runtime.Register("defaultBufferSize", "()I", "", ApiSince=30)]
public static int DefaultBufferSize ();
[<Android.Runtime.Register("defaultBufferSize", "()I", "", ApiSince=30)>]
static member DefaultBufferSize : unit -> int

Returns

the buffer size value

Attributes

Remarks

Returns a default value for Publisher or Subscriber buffering, that may be used in the absence of other constraints.

Java documentation for java.util.concurrent.Flow.defaultBufferSize().

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