Ejemplo n.º 1
0
        public CaptureSession(ICaptureSessionDelegate captureSessionDelegate,
                              ISessionPhotoCapturingDelegate photoSessionDelegate)
        {
            _captureSessionDelegate = captureSessionDelegate;

            PhotoCaptureSession        = new PhotoCaptureSession(SessionRuntimeError, photoSessionDelegate, _sessionQueue);
            _notificationCenterHandler = new CaptureNotificationCenterHandler(_captureSessionDelegate);
        }
Ejemplo n.º 2
0
        public CaptureSession(ICaptureSessionDelegate captureSessionDelegate,
                              ICaptureSessionVideoRecordingDelegate videoSessionDelegate)
        {
            _captureSessionDelegate = captureSessionDelegate;

            VideoCaptureSession        = new VideoCaptureSession(SessionRuntimeError, videoSessionDelegate, _sessionQueue);
            _notificationCenterHandler = new CaptureNotificationCenterHandler(_captureSessionDelegate);
        }