示例#1
0
 public CameraAnalyzer(SurfaceView surfaceView, MobileBarcodeScanningOptions scanningOptions)
 {
     _scanningOptions = scanningOptions;
     _cameraEventListener = new CameraEventsListener();
     _cameraController = new CameraController(surfaceView, _cameraEventListener, scanningOptions);
     Torch = new Torch(_cameraController, surfaceView.Context);
 }
示例#2
0
 public Torch(CameraController cameraController, Context context)
 {
     _cameraController = cameraController;
     _context = context;
 }