Package org.robolectric.shadows
Class ShadowCameraCaptureSessionImpl
java.lang.Object
org.robolectric.shadows.ShadowCameraCaptureSessionImpl
@Implements(value=android.hardware.camera2.impl.CameraCaptureSessionImpl.class, minSdk=21, isInAndroidSdk=false) public class ShadowCameraCaptureSessionImpl extends Object
Shadow class for
CameraCaptureSessionImpl
-
Constructor Summary
Constructors Constructor Description ShadowCameraCaptureSessionImpl()
-
Method Summary
Modifier and Type Method Description protected int
capture(CaptureRequest request, CameraCaptureSession.CaptureCallback callback, Handler handler)
protected int
captureSingleRequest(CaptureRequest request, Executor executor, CameraCaptureSession.CaptureCallback callback)
protected void
close()
protected int
setRepeatingRequest(CaptureRequest request, CameraCaptureSession.CaptureCallback callback, Handler handler)
protected int
setSingleRepeatingRequest(CaptureRequest request, Executor executor, CameraCaptureSession.CaptureCallback callback)
-
Constructor Details
-
ShadowCameraCaptureSessionImpl
public ShadowCameraCaptureSessionImpl()
-
-
Method Details
-
setRepeatingRequest
@Implementation(minSdk=28) protected int setRepeatingRequest(CaptureRequest request, CameraCaptureSession.CaptureCallback callback, Handler handler) throws CameraAccessException- Throws:
CameraAccessException
-
setSingleRepeatingRequest
@Implementation(minSdk=28) protected int setSingleRepeatingRequest(CaptureRequest request, Executor executor, CameraCaptureSession.CaptureCallback callback) throws CameraAccessException- Throws:
CameraAccessException
-
capture
@Implementation(minSdk=28) protected int capture(CaptureRequest request, CameraCaptureSession.CaptureCallback callback, Handler handler) throws CameraAccessException- Throws:
CameraAccessException
-
captureSingleRequest
@Implementation(minSdk=28) protected int captureSingleRequest(CaptureRequest request, Executor executor, CameraCaptureSession.CaptureCallback callback) throws CameraAccessException- Throws:
CameraAccessException
-
close
-