Added in API level 19

OnImageAvailableListener


interface 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 Unit

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

Public methods

onImageAvailable

Added in API level 19
abstract fun onImageAvailable(reader: ImageReader!): Unit

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

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