最終更新:2019-01-24 (木) 16:02:25 (1917d)
Camera.PreviewCallback
Top / Camera.PreviewCallback
Callback interface used to deliver copies of preview frames as they are displayed.
http://developer.android.com/reference/android/hardware/Camera.PreviewCallback.html
メソッド
abstract void PreviewCallback.onPreviewFrame(byte[] data, Camera camera) | Called as preview frames are displayed. |
data
- byte: the contents of the preview frame in the format defined by ImageFormat, which can be queried with Camera.Parameters.getPreviewFormat().
- If Camera.Parameters.setPreviewFormat(int) is never called, the default will be the YCbCr_420_SP? (NV21) format.