예제 #1
0
        public CaptureSession(ICaptureSessionDelegate captureSessionDelegate,
                              ISessionPhotoCapturingDelegate photoSessionDelegate)
        {
            _captureSessionDelegate = captureSessionDelegate;

            PhotoCaptureSession        = new PhotoCaptureSession(SessionRuntimeError, photoSessionDelegate, _sessionQueue);
            _notificationCenterHandler = new CaptureNotificationCenterHandler(_captureSessionDelegate);
        }
예제 #2
0
        public CaptureSession(ICaptureSessionDelegate captureSessionDelegate,
                              ICaptureSessionVideoRecordingDelegate videoSessionDelegate)
        {
            _captureSessionDelegate = captureSessionDelegate;

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