ACameraCaptureFailure
#include <NdkCameraCaptureSession.h>
Struct to describe a capture failure.
Summary
Public attributes |
|
---|---|
frameNumber
|
int64_t
The frame number associated with this failed capture.
|
reason
|
int
Determine why the request was dropped, whether due to an error or to a user action.
|
sequenceId
|
int
The sequence ID for this failed capture that was returned by the ACameraCaptureSession_capture or ACameraCaptureSession_setRepeatingRequest.
|
wasImageCaptured
|
bool
Determine if the image was captured from the camera.
|
Public attributes
frameNumber
int64_t ACameraCaptureFailure::frameNumber
The frame number associated with this failed capture.
Whenever a request has been processed, regardless of failed capture or success, it gets a unique frame number assigned to its future result/failed capture.
This value monotonically increments, starting with 0, for every new result or failure; and the scope is the lifetime of the ACameraDevice.
reason
int ACameraCaptureFailure::reason
Determine why the request was dropped, whether due to an error or to a user action.
See also: CAPTURE_FAILURE_REASON_ERROR See also: CAPTURE_FAILURE_REASON_FLUSHED
sequenceId
int ACameraCaptureFailure::sequenceId
The sequence ID for this failed capture that was returned by the ACameraCaptureSession_capture or ACameraCaptureSession_setRepeatingRequest.
The sequence ID is a unique monotonically increasing value starting from 0, incremented every time a new group of requests is submitted to the ACameraDevice.
wasImageCaptured
bool ACameraCaptureFailure::wasImageCaptured
Determine if the image was captured from the camera.
If the image was not captured, no image buffers will be available. If the image was captured, then image buffers may be available.