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 forCameraCaptureSessionImpl
-
-
Constructor Summary
Constructors Constructor Description ShadowCameraCaptureSessionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intcapture(CaptureRequest request, CameraCaptureSession.CaptureCallback callback, Handler handler)protected intcaptureSingleRequest(CaptureRequest request, Executor executor, CameraCaptureSession.CaptureCallback callback)protected voidclose()protected intsetRepeatingRequest(CaptureRequest request, CameraCaptureSession.CaptureCallback callback, Handler handler)protected intsetSingleRepeatingRequest(CaptureRequest request, Executor executor, CameraCaptureSession.CaptureCallback callback)
-
-
-
Method Detail
-
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
@Implementation(minSdk=28) protected void close()
-
-