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