Example #1
0
        private void ConfigureCaptureSession()
        {
            if (!LayoutConfiguration.ShowsCameraItem)
            {
                return;
            }

            _captureSession = CaptureFactory.Create(GetCameraCell, Delegate, CaptureSettings.CameraMode);
            _captureSession.Prepare(
                GetCaptureVideoOrientation(UIApplication.SharedApplication.StatusBarOrientation));
            _cameraCollectionViewCellDelegate =
                new CameraCollectionViewCellDelegate(GetCameraCell, _captureSession, CaptureSettings);
        }