PictureCallback
interfacePictureCallback
| 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 funonPictureTaken(
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 |