Skip to content

Most visited

Recently visited


NdkCameraCaptureSession.h File Reference

NdkCameraCaptureSession.h File Reference

Data Structures

struct  ACameraCaptureSession_stateCallbacks
struct  ACameraCaptureFailure
 Struct to describe a capture failure. More...
struct  ACameraCaptureSession_captureCallbacks


typedef typedef__BEGIN_DECLS struct ACameraCaptureSession ACameraCaptureSession
typedef void(* ACameraCaptureSession_stateCallback) (void *context, ACameraCaptureSession *session)
typedef struct ACameraCaptureSession_stateCallbacks ACameraCaptureSession_stateCallbacks
typedef struct ACameraCaptureFailure ACameraCaptureFailure
 Struct to describe a capture failure. More...
typedef void(* ACameraCaptureSession_captureCallback_start) (void *context, ACameraCaptureSession *session, const ACaptureRequest *request, int64_t timestamp)
typedef void(* ACameraCaptureSession_captureCallback_result) (void *context, ACameraCaptureSession *session, ACaptureRequest *request, const ACameraMetadata *result)
typedef void(* ACameraCaptureSession_captureCallback_failed) (void *context, ACameraCaptureSession *session, ACaptureRequest *request, ACameraCaptureFailure *failure)
typedef void(* ACameraCaptureSession_captureCallback_sequenceEnd) (void *context, ACameraCaptureSession *session, int sequenceId, int64_t frameNumber)
typedef void(* ACameraCaptureSession_captureCallback_sequenceAbort) (void *context, ACameraCaptureSession *session, int sequenceId)
typedef void(* ACameraCaptureSession_captureCallback_bufferLost) (void *context, ACameraCaptureSession *session, ACaptureRequest *request, ANativeWindow *window, int64_t frameNumber)
typedef struct ACameraCaptureSession_captureCallbacks ACameraCaptureSession_captureCallbacks
typedef struct ACameraDevice ACameraDevice
typedef struct ACaptureSessionOutput ACaptureSessionOutput


 Enum for describing error reason in ACameraCaptureFailure. More...


void ACameraCaptureSession_close (ACameraCaptureSession *session)
camera_status_t ACameraCaptureSession_getDevice (ACameraCaptureSession *session, ACameraDevice **device)
camera_status_t ACameraCaptureSession_capture (ACameraCaptureSession *session, ACameraCaptureSession_captureCallbacks *callbacks, int numRequests, ACaptureRequest **requests, int *captureSequenceId)
camera_status_t ACameraCaptureSession_setRepeatingRequest (ACameraCaptureSession *session, ACameraCaptureSession_captureCallbacks *callbacks, int numRequests, ACaptureRequest **requests, int *captureSequenceId)
camera_status_t ACameraCaptureSession_stopRepeating (ACameraCaptureSession *session)
camera_status_t ACameraCaptureSession_abortCaptures (ACameraCaptureSession *session)
camera_status_t ACameraCaptureSession_updateSharedOutput (ACameraCaptureSession *session, ACaptureSessionOutput *output)
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


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)