Skip to content

Most visited

Recently visited

navigation

ACameraCaptureFailure Struct Reference

ACameraCaptureFailure Struct Reference

Struct to describe a capture failure. More...

#include <NdkCameraCaptureSession.h>

Data Fields

int64_t frameNumber
 
int reason
 
int sequenceId
 
bool wasImageCaptured
 

Detailed Description

Struct to describe a capture failure.

Field Documentation

◆ frameNumber

int64_t 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 reason

Determine why the request was dropped, whether due to an error or to a user action.

See also
CAPTURE_FAILURE_REASON_ERROR
CAPTURE_FAILURE_REASON_FLUSHED

◆ sequenceId

int 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 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.


The documentation for this struct was generated from the following file:
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (April 2018 — Developer Survey)