Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 19

ImageReader.OnImageAvailableListener

public static interface ImageReader.OnImageAvailableListener

android.media.ImageReader.OnImageAvailableListener


Callback interface for being notified that a new image is available.

The onImageAvailable is called per image basis, that is, callback fires for every new frame available from ImageReader.

Summary

Public methods

abstract void onImageAvailable(ImageReader reader)

Callback that is called when a new image is available from ImageReader.

Public methods

onImageAvailable

added in API level 19
public abstract void onImageAvailable (ImageReader reader)

Callback that is called when a new image is available from ImageReader.

Parameters
reader ImageReader: the ImageReader the callback is associated with.

See also: