Java android.media ImageReader fields, constructors, methods, implement or subclass

Example usage for Java android.media ImageReader fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.media ImageReader.

The text is from its open source code.

Method

ImageacquireLatestImage()

Acquire the latest Image from the ImageReader's queue, dropping older Image images .

ImageacquireNextImage()

Acquire the next Image from the ImageReader's queue.

SurfacegetSurface()

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 .

ImageReadernewInstance(int width, int height, int format, int maxImages)

Create a new reader for images of the desired size and format.

voidsetOnImageAvailableListener(OnImageAvailableListener listener, Handler handler)
Register a listener to be invoked when a new image becomes available from the ImageReader.