最終更新:2017-03-21 (火) 15:30:33 (2592d)  

CameraCaptureSession.CaptureCallback
Top / CameraCaptureSession.CaptureCallback

public static abstract class CameraCaptureSession.CaptureCallback extends Object

https://developer.android.com/reference/android/hardware/camera2/CameraCaptureSession.CaptureCallback.html

メソッド

  • CaptureCallback.onCaptureBufferLost?(CameraCaptureSession session, CaptureRequest request, Surface target, long frameNumber)This method is called if a single buffer for a capture could not be sent to its destination surface.
    CaptureCallback.onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, TotalCaptureResult result)This method is called when an image capture has fully completed and all the result metadata is available.
    CaptureCallback.onCaptureFailed?(CameraCaptureSession session, CaptureRequest request, CaptureFailure? failure)This method is called instead of onCaptureCompleted?(CameraCaptureSession, CaptureRequest, TotalCaptureResult) when the camera device failed to produce a CaptureResult? for the request.
    CaptureCallback.onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, CaptureResult? partialResult)This method is called when an image capture makes partial forward progress; some (but not all) results from an image capture are available.
    CaptureCallback.onCaptureSequenceAborted?(CameraCaptureSession session, int sequenceId)This method is called independently of the others in CaptureCallback?, when a capture sequence aborts before any CaptureResult? or CaptureFailure? for it have been returned via this listener.
    CaptureCallback.onCaptureSequenceCompleted?(CameraCaptureSession session, int sequenceId, long frameNumber)This method is called independently of the others in CaptureCallback?, when a capture sequence finishes and all CaptureResult? or CaptureFailure? for it have been returned via this listener.
    CaptureCallback.onCaptureStarted?(CameraCaptureSession session, CaptureRequest request, long timestamp, long frameNumber)This method is called when the camera device has started capturing the output image for the request, at the beginning of image exposure, or when the camera device has started processing an input image for a reprocess request.