Example usage for Java android.media ImageReader fields, constructors, methods, implement or subclass
The text is from its open source code.
Image | acquireLatestImage() Acquire the latest Image from the ImageReader's queue, dropping older Image images . |
Image | acquireNextImage() Acquire the next Image from the ImageReader's queue. |
Surface | getSurface() Get a Surface that can be used to produce Image Images for this ImageReader . Until valid image data is rendered into this Surface , the #acquireNextImage method will return null . |
ImageReader | newInstance(int width, int height, int format, int maxImages) Create a new reader for images of the desired size and format. |
void | setOnImageAvailableListener(OnImageAvailableListener listener, Handler handler) Register a listener to be invoked when a new image becomes available from the ImageReader. |