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
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-