最終更新:2017-04-03 (月) 14:09:05 (2579d)  

CameraCaptureSession.setRepeatingRequest
Top / CameraCaptureSession.setRepeatingRequest

Request endlessly repeating capture of images by this capture session.

https://developer.android.com/reference/android/hardware/camera2/CameraCaptureSession.html#setRepeatingRequest(android.hardware.camera2.CaptureRequest, CameraCaptureSession.CaptureCallback, android.os.Handler)

引数

  • CaptureRequestrequestthe request to repeat indefinitely
    CameraCaptureSession.CaptureCallbacklistenerThe callback object to notify every time the request finishes processing. If null, no metadata will be produced for this stream of requests, although image data will still be produced.
    Handlerhandlerthe handler on which the listener should be invoked, or null to use the current thread's looper.

  • mPreviewRequest = mPreviewRequestBuilder.build();
    mCaptureSession.setRepeatingRequest(mPreviewRequest, mCaptureCallback, mBackgroundHandler);

停止

  • CameraCaptureSession.stopRepeating?
  • CameraCaptureSession.abortCaptures?

実装

  • CameraDeviceClient::submitRequestList?

関連