Android.Media.ImageReader.Close Method
Free up all the resources associated with this ImageReader.

Syntax

[Android.Runtime.Register("close", "()V", "GetCloseHandler")]
public virtual void Close ()

Remarks

Free up all the resources associated with this ImageReader.

After calling this method, this ImageReader can not be used. Calling any methods on this ImageReader and Images previously provided by ImageReader.AcquireNextImage or ImageReader.AcquireLatestImage will result in an Java.Lang.IllegalStateException, and attempting to read from Java.Nio.ByteBuffer returned by an earlier NoType:android/media/Image$Plane;Href=../../../reference/android/media/Image.Plane.html#getBuffer() call will have undefined behavior.

[Android Documentation]

Requirements

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