public CaptureSession(ICaptureSessionDelegate captureSessionDelegate, ISessionPhotoCapturingDelegate photoSessionDelegate) { _captureSessionDelegate = captureSessionDelegate; PhotoCaptureSession = new PhotoCaptureSession(SessionRuntimeError, photoSessionDelegate, _sessionQueue); _notificationCenterHandler = new CaptureNotificationCenterHandler(_captureSessionDelegate); }
public CaptureSession(ICaptureSessionDelegate captureSessionDelegate, ICaptureSessionVideoRecordingDelegate videoSessionDelegate) { _captureSessionDelegate = captureSessionDelegate; VideoCaptureSession = new VideoCaptureSession(SessionRuntimeError, videoSessionDelegate, _sessionQueue); _notificationCenterHandler = new CaptureNotificationCenterHandler(_captureSessionDelegate); }