# Print output for @column tags ?> Camera.PictureCallback - Android SDK | Android Developers

Most visited


Recently visited


Camera.PictureCallback

public static interface Camera.PictureCallback

android.hardware.Camera.PictureCallback


This interface is deprecated.
We recommend using the new android.hardware.camera2 API for new applications.

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

See also:

Summary


Public methods

abstract void onPictureTaken(byte[] data, Camera camera)

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

Public methods


onPictureTaken

public abstract void onPictureTaken (byte[] data, 
                Camera camera)

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 byte: a byte array of the picture data

camera Camera: the Camera service object

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.