Beispiel #1
0
        public PhotoCaptureSession(Action <NSNotification> sessionRuntimeErrorHandler,
                                   ISessionPhotoCapturingDelegate photoCapturingDelegate, DispatchQueue queue)
        {
            _photoCapturingDelegate = photoCapturingDelegate;
            _sessionQueue           = queue;

            _videoDeviceInputManager = new VideoDeviceInputManager(sessionRuntimeErrorHandler);
        }
Beispiel #2
0
        public CaptureSession(ICaptureSessionDelegate captureSessionDelegate,
                              ISessionPhotoCapturingDelegate photoSessionDelegate)
        {
            _captureSessionDelegate = captureSessionDelegate;

            PhotoCaptureSession        = new PhotoCaptureSession(SessionRuntimeError, photoSessionDelegate, _sessionQueue);
            _notificationCenterHandler = new CaptureNotificationCenterHandler(_captureSessionDelegate);
        }