android.hardware.Camera.PreviewCallback |
Used to get a copy of each preview frame.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The callback that delivers the preview frames.
|
The callback that delivers the preview frames.
data | The contents of the preview frame in the format defined
by PixelFormat , which can be queried
with getPreviewFormat() .
If setPreviewFormat(int)
is never called, the default will be the YCbCr_420_SP
(NV21) format. |
---|---|
camera | The Camera service object. |