Android.Media.ImageReader.MaxImages Property
Maximum number of images that can be acquired from the ImageReader by any time (for example, with ImageReader.AcquireNextImage).

Syntax

[get: Android.Runtime.Register("getMaxImages", "()I", "GetGetMaxImagesHandler")]
public virtual int MaxImages { get; }

See Also

Image.Close

Value

Documentation for this section has not yet been entered.

Remarks

Maximum number of images that can be acquired from the ImageReader by any time (for example, with ImageReader.AcquireNextImage).

An image is considered acquired after it's returned by a function from ImageReader, and until the Image is Image.Close to release the image back to the ImageReader.

Attempting to acquire more than maxImages concurrently will result in the acquire function throwing a Java.Lang.IllegalStateException. Furthermore, while the max number of images have been acquired by the ImageReader user, the producer enqueueing additional images may stall until at least one image has been released.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0