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 java.lang.ObjectShadow class forCameraCaptureSessionImpl
-
-
Constructor Summary
Constructors Constructor Description ShadowCameraCaptureSessionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intcapture(android.hardware.camera2.CaptureRequest request, android.hardware.camera2.CameraCaptureSession.CaptureCallback callback, android.os.Handler handler)protected voidclose()protected intsetRepeatingRequest(android.hardware.camera2.CaptureRequest request, android.hardware.camera2.CameraCaptureSession.CaptureCallback callback, android.os.Handler handler)
-
-
-
Method Detail
-
setRepeatingRequest
@Implementation(minSdk=28) protected int setRepeatingRequest(android.hardware.camera2.CaptureRequest request, android.hardware.camera2.CameraCaptureSession.CaptureCallback callback, android.os.Handler handler) throws android.hardware.camera2.CameraAccessException- Throws:
android.hardware.camera2.CameraAccessException
-
capture
@Implementation(minSdk=28) protected int capture(android.hardware.camera2.CaptureRequest request, android.hardware.camera2.CameraCaptureSession.CaptureCallback callback, android.os.Handler handler) throws android.hardware.camera2.CameraAccessException- Throws:
android.hardware.camera2.CameraAccessException
-
close
@Implementation(minSdk=28) protected void close()
-
-