ACameraCaptureSession_logicalCamera_captureCallbacksV2

#include <NdkCameraCaptureSession.h>

This has the same functionality as ACameraCaptureSession_logicalCamera_captureCallbacks, with the exception that an captureCallback_startV2 callback is used, instead of captureCallback_start, to support retrieving frame number.

Summary

Public attributes

context
void *
onCaptureBufferLost
onCaptureProgressed
onCaptureSequenceAborted
onCaptureSequenceCompleted
onCaptureStarted
Same as ACameraCaptureSession_captureCallbacks#onCaptureStarted, except that it has the frame number of the capture added in the parameter list.
onLogicalCameraCaptureCompleted
onLogicalCameraCaptureFailed
This callback is called instead of onLogicalCameraCaptureCompleted when the camera device failed to produce a capture result for the request.

Public attributes

context

void * ACameraCaptureSession_logicalCamera_captureCallbacksV2::context

onCaptureBufferLost

ACameraCaptureSession_captureCallback_bufferLost ACameraCaptureSession_logicalCamera_captureCallbacksV2::onCaptureBufferLost

onCaptureProgressed

ACameraCaptureSession_captureCallback_result ACameraCaptureSession_logicalCamera_captureCallbacksV2::onCaptureProgressed

onCaptureSequenceAborted

ACameraCaptureSession_captureCallback_sequenceAbort ACameraCaptureSession_logicalCamera_captureCallbacksV2::onCaptureSequenceAborted

onCaptureSequenceCompleted

ACameraCaptureSession_captureCallback_sequenceEnd ACameraCaptureSession_logicalCamera_captureCallbacksV2::onCaptureSequenceCompleted

onCaptureStarted

ACameraCaptureSession_captureCallback_startV2 ACameraCaptureSession_logicalCamera_captureCallbacksV2::onCaptureStarted

Same as ACameraCaptureSession_captureCallbacks#onCaptureStarted, except that it has the frame number of the capture added in the parameter list.

onLogicalCameraCaptureCompleted

ACameraCaptureSession_logicalCamera_captureCallback_result ACameraCaptureSession_logicalCamera_captureCallbacksV2::onLogicalCameraCaptureCompleted

onLogicalCameraCaptureFailed

ACameraCaptureSession_logicalCamera_captureCallback_failed ACameraCaptureSession_logicalCamera_captureCallbacksV2::onLogicalCameraCaptureFailed

This callback is called instead of onLogicalCameraCaptureCompleted when the camera device failed to produce a capture result for the request.

Other requests are unaffected, and some or all image buffers from the capture may have been pushed to their respective output streams.

Note that the ACaptureRequest pointer in the callback will not match what application has submitted, but the contents the ACaptureRequest will match what application submitted.

See also: ALogicalCameraCaptureFailure