public static interface CameraCaptureSession.StateCallback
android.hardware.camera2.CameraCaptureSession.StateCallback
Modifier and Type | Method and Description |
---|---|
void |
onClosed(CameraCaptureSession session)
This method is called when the session is closed.
|
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 onConfigured(CameraCaptureSession session)
void onClosed(CameraCaptureSession session)
A session is closed when a new session is created by the parent camera device, or when the parent camera device is closed (either by the user closing the device, or due to a camera device disconnection or fatal error).
This method will not be called unless onConfigured(org.firstinspires.ftc.robotcore.external.hardware.camera.CameraCaptureSession)
is called first.