CameraCaptureSession.StateCallback
public
static
abstract
class
CameraCaptureSession.StateCallback
extends Object
| java.lang.Object | |
| ↳ | android.hardware.camera2.CameraCaptureSession.StateCallback |
A callback object for receiving updates about the state of a camera capture session.
Summary
Public constructors | |
|---|---|
StateCallback()
|
|
Public methods | |
|---|---|
void
|
onActive(CameraCaptureSession session)
This method is called when the session starts actively processing capture requests. |
void
|
onCaptureQueueEmpty(CameraCaptureSession session)
This method is called when camera device's input capture queue becomes empty, and is ready to accept the next request. |
void
|
onClosed(CameraCaptureSession session)
This method is called when the session is closed. |
abstract
void
|
onConfigureFailed(CameraCaptureSession session)
This method is called if the session cannot be configured as requested. |
abstract
void
|
onConfigured(CameraCaptureSession session)
This method is called when the camera device has finished configuring itself, and the session can start processing capture requests. |
void
|
onReady(CameraCaptureSession session)
This method is called every time the session has no more capture requests to process. |
void
|
onSurfacePrepared(CameraCaptureSession session, Surface surface)
This method is called when the buffer pre-allocation for an output Surface is complete. |
Inherited methods | |
|---|---|