public static interface CameraCaptureSession.StatusCallback
Modifier and Type | Method and Description |
---|---|
void |
onCaptureSequenceCompleted(CameraCaptureSession session,
CameraCaptureSequenceId cameraCaptureSequenceId,
long lastFrameNumber)
This method is called when a capture sequence is completed.
|
void onCaptureSequenceCompleted(CameraCaptureSession session, CameraCaptureSequenceId cameraCaptureSequenceId, long lastFrameNumber)
CameraCaptureSession.CaptureCallback.onNewFrame(org.firstinspires.ftc.robotcore.external.hardware.camera.CameraCaptureSession, org.firstinspires.ftc.robotcore.external.hardware.camera.CameraCaptureRequest, org.firstinspires.ftc.robotcore.external.hardware.camera.CameraFrame)
will be made.session
- The session returned by Camera.createCaptureSession(org.firstinspires.ftc.robotcore.external.function.Continuation<? extends org.firstinspires.ftc.robotcore.external.hardware.camera.CameraCaptureSession.StateCallback>)
cameraCaptureSequenceId
- A sequence ID returned by CameraCaptureSession.startCapture(org.firstinspires.ftc.robotcore.external.hardware.camera.CameraCaptureRequest, org.firstinspires.ftc.robotcore.external.hardware.camera.CameraCaptureSession.CaptureCallback, org.firstinspires.ftc.robotcore.external.function.Continuation<? extends org.firstinspires.ftc.robotcore.external.hardware.camera.CameraCaptureSession.StatusCallback>)
lastFrameNumber
- The last frame number (returned by CameraFrame.getFrameNumber()
in the capture sequence, or CameraFrame.UnknownFrameNumber
if no frames have been observed.CameraFrame.getFrameNumber()
,
CaptureFailure#getFrameNumber()
,
CameraFrame.getCaptureSequenceId()
,
CaptureFailure#getSequenceId()