See Also: Image
public abstract class Image : Object
This class allows for efficient direct application access to the pixel data of the Image through one or more ByteBuffer. Each buffer is encapsulated in a NoType:android/media/Image$Plane;Href=../../../reference/android/media/Image.Plane.html that describes the layout of the pixel data in that plane. Due to this direct access, and unlike the Bitmap class, Images are not directly usable as as UI resources.
Since Images are often directly produced or consumed by hardware components, they are a limited resource shared across the system, and should be closed as soon as they are no longer needed.
For example, when using the ImageReader class to read out Images from various media sources, not closing old Image objects will prevent the availability of new Images once ImageReader.MaxImages is reached. When this happens, the function acquiring new Images will typically throw an IllegalStateException.
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
The members of Android.Media.Image are listed below.
See Also: Object
|CropRect||Rect. Get the crop rectangle associated with this frame.|
|Format||ImageFormatType. Get the format for this image.|
|Height||Int32. The height of the image in pixels.|
|Timestamp||Int64. Get the timestamp associated with this frame.|
|Width||Int32. The width of the image in pixels.|