public abstract static class CameraDeviceImpl.StateCallbackKK extends CameraDevice.StateCallback
CameraDevice.StateCallback.ErrorCode
ERROR_CAMERA_DEVICE, ERROR_CAMERA_DISABLED, ERROR_CAMERA_IN_USE, ERROR_CAMERA_SERVICE, ERROR_MAX_CAMERAS_IN_USE
Constructor and Description |
---|
StateCallbackKK() |
Modifier and Type | Method and Description |
---|---|
void |
onActive(CameraDevice camera)
The method called when a camera device begins processing
capture requests . |
void |
onBusy(CameraDevice camera)
The method called when a camera device is busy.
|
void |
onIdle(CameraDevice camera)
The method called when a camera device has finished processing all
submitted capture requests and has reached an idle state.
|
void |
onSurfacePrepared(Surface surface)
The method called when the camera device has finished preparing
an output Surface
|
void |
onUnconfigured(CameraDevice camera)
The method called when a camera device has no outputs configured.
|
onClosed, onDisconnected, onError, onOpened
public void onUnconfigured(CameraDevice camera)
public void onActive(CameraDevice camera)
capture requests
.public void onBusy(CameraDevice camera)
public void onIdle(CameraDevice camera)
public void onSurfacePrepared(Surface surface)