public interface StreamingPreviewCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onPreviewFrame(byte[] data,
Camera camera)
Deprecated.
|
boolean |
onPreviewFrame(byte[] data,
int width,
int height)
Called after startStreaming and before
CameraStreamingManager.STATE.SHUTDOWN
if the camera opened successfully, running in CameraManagerHt thread. |
@Deprecated
void onPreviewFrame(byte[] data,
Camera camera)
boolean onPreviewFrame(byte[] data,
int width,
int height)
CameraStreamingManager.STATE.SHUTDOWN
if the camera opened successfully, running in CameraManagerHt thread.data - the contents of the preview frame in NV21 formatwidth - the width of the frameheight - the height of the frame