Added in API level 1
Deprecated in API level 21

PictureCallback


interface PictureCallback
android.hardware.Camera.PictureCallback

Callback interface used to supply image data from a photo capture.

Summary

Public methods
abstract Unit
onPictureTaken(data: ByteArray!, camera: Camera!)

Called when image data is available after a picture is taken.

Public methods

onPictureTaken

Added in API level 1
abstract fun onPictureTaken(
    data: ByteArray!,
    camera: Camera!
): Unit

Deprecated: Deprecated in Java.

Called when image data is available after a picture is taken. The format of the data depends on the context of the callback and Camera.Parameters settings.

Parameters
data ByteArray!: a byte array of the picture data
camera Camera!: the Camera service object