Class ShadowCameraDeviceImpl


  • @Implements(value=android.hardware.camera2.impl.CameraDeviceImpl.class,
                minSdk=21,
                isInAndroidSdk=false)
    public class ShadowCameraDeviceImpl
    extends java.lang.Object
    Shadow class for CameraDeviceImpl
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void checkIfCameraClosedOrInError()  
      protected void close()  
      protected android.hardware.camera2.CaptureRequest.Builder createCaptureRequest​(int templateType)  
      protected void createCaptureSession​(java.util.List<android.view.Surface> outputs, android.hardware.camera2.CameraCaptureSession.StateCallback callback, android.os.Handler handler)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShadowCameraDeviceImpl

        public ShadowCameraDeviceImpl()
    • Method Detail

      • createCaptureRequest

        @Implementation
        protected android.hardware.camera2.CaptureRequest.Builder createCaptureRequest​(int templateType)
      • createCaptureSession

        @Implementation(minSdk=28)
        protected void createCaptureSession​(java.util.List<android.view.Surface> outputs,
                                            android.hardware.camera2.CameraCaptureSession.StateCallback callback,
                                            android.os.Handler handler)
                                     throws android.hardware.camera2.CameraAccessException
        Throws:
        android.hardware.camera2.CameraAccessException
      • close

        @Implementation
        protected void close()
      • checkIfCameraClosedOrInError

        @Implementation
        protected void checkIfCameraClosedOrInError()