ImageReader.Builder.SetMaxImages(Int32) Method

Definition

Set the maximal number of images.

[Android.Runtime.Register("setMaxImages", "(I)Landroid/media/ImageReader$Builder;", "", ApiSince=33)]
public Android.Media.ImageReader.Builder SetMaxImages(int maxImages);
[<Android.Runtime.Register("setMaxImages", "(I)Landroid/media/ImageReader$Builder;", "", ApiSince=33)>]
member this.SetMaxImages : int -> Android.Media.ImageReader.Builder

Parameters

maxImages
Int32

The maximum number of images the user will want to access simultaneously. This should be as small as possible to limit memory use. Default value is 1.

Returns

the Builder instance with customized usage value. This value cannot be null.

Attributes

Remarks

Set the maximal number of images.

Android reference for android.media.ImageReader.Builder.setMaxImages.

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