RGLDocumentReaderCameraViewController

Objective-C

@interface RGLDocumentReaderCameraViewController : UIViewController

@property(nonatomic, assign) BOOL resultStatusLocked;

@property(readonly, nonatomic, assign) AVCaptureDevicePosition cameraPosition;
@property(nonatomic, assign) BOOL showHelpPopup;
@property(nonatomic, assign) BOOL helpAnimationShowed;
@property(nonatomic, assign) BOOL showResultMessages;
@property(nonatomic, assign) BOOL showStatusMessages;
@property(nonatomic, assign) BOOL recognizeWasInterrupted;
@property(nonatomic, assign) BOOL skipNextPageRecognition;
@property(nonatomic, assign) double motionRate;
@property(nonatomic, strong, nullable) NSString *cameraStatusString;

@property(nonatomic, strong, nullable) RGLDocumentReaderResults *latestResult;

@property (nonatomic, getter=isCameraControllerPresentedModally) BOOL cameraControllerPresentedModally;

@property(nonatomic, strong, nullable) RGLPreviewView *previewView;
@property(nonatomic, strong, nullable) UIButton *closeButton;
@property(nonatomic, strong, nullable) UIButton *flashButton;
@property(nonatomic, strong, nullable) UIButton *swapCameraButton;
@property(nonatomic, strong, nullable) UIButton *bleButton;
@property(nonatomic, strong, nullable) UIButton *batteryButton;
@property(nonatomic, strong, nullable) UILabel *statusLabel;
@property(nonatomic, strong, nullable) UIView *statusView;
@property(nonatomic, strong, nullable) UIButton *captureButton;
@property(nonatomic, strong, nullable) UIButton *skipMultipageButton;
@property(nonatomic, strong, nullable) UILabel *resultStatusLabel;
@property(nonatomic, strong, nullable) UIView *resultStatusView;
@property(nonatomic, strong, nullable) UIButton *frameSizeButton;
@property(nonatomic, strong, nullable) RGLMaskView *maskView;
@property(nonatomic, strong, nullable) UILabel *logoLabel;
@property(nonatomic, strong, nullable) UIImageView *logoImage;
@property(nonatomic, strong, nullable) RGLCornerView *borderView;
@property(nonatomic, strong, nullable) UIView *focusView;
@property(nonatomic, strong, nullable) UILabel *cameraUnavailableLabel;
@property(nonatomic, strong, nullable) RGLActivityIndicator *activityIndicator;
@property(nonatomic, strong, nullable) RGLDocumentView *multipageScaningView;
@property(nonatomic, strong, nullable) RGLDocumentView *helpAnimationView;
@property(nonatomic, strong, nullable) UIImageView *borderPlaceholderImage;
@property(nonatomic, assign) BOOL barcodeEnabled;
@property(nonatomic, assign) BOOL faceEnabled;
@property(nonatomic, assign) RGLCameraScanMode cameraScanMode;
@property(nonatomic, strong, nullable) UILabel *customLabel;

@property(nonatomic, weak, nullable) id<RGLDocumentReaderCameraViewControllerDelegate> cameraViewControllerDelegate;
@property(nonatomic, strong, nullable) RGLCameraViewControllerHandler cameraViewControllerHandler;
@property(nonatomic, assign) BOOL recognitionIsActive;

@property(nonatomic, assign) BOOL showChangeFrameButton;

@property(nonatomic, assign) RGLDocReaderFrame currentCameraFrame;

- (void)closeTapped:(UIButton *)button;
- (void)flashTapped:(UIButton *)button;
- (void)swapTapped:(UIButton *)button;
- (void)captureButtonTapped:(UIButton *)button;
- (void)skipMultipageTapped:(UIButton *)button;
- (void)changeFrameTapped:(UIButton *)button;
- (void)processParamChanged;
- (void)setHiddenForFlashButton:(BOOL)isHidden;
- (void)setHiddenForCloseButton:(BOOL)isHidden;
- (void)setHiddenForCaptureButton:(BOOL)isHidden;
- (void)setHiddenForSwapCameraButton:(BOOL)isHidden;
- (void)setVideoSessionPreset:(AVCaptureSessionPreset )sessionPreset;
- (void)setVideoZoomFactor:(CGFloat)videoZoomFactor;
- (void)setAVCaptureDevicePosition:(AVCaptureDevicePosition)cameraPosition;
- (void)enableProcessingUI:(BOOL)enable;

- (void)notifyCameraPreviewBackgroundColorChanged;
- (void)notifyTintColorChanged;
- (void)notifyResultStatusTextColorChanged;
- (void)notifyResultStatusTextFontChanged;
- (void)notifyCameraFrameDefaultColorChanged;
- (void)notifyCameraFrameActiveColorChanged;
- (void)notifyStatusTextColorChanged;
- (void)notifyStatusTextFontChanged;
- (void)notifyStatusBackgroundColorChanged;
- (void)notifyShowStatusMessagesChanged;
- (void)notifyShowResultStatusMessagesChanged;
- (void)notifyCameraStatusChanged;
- (void)notifyCameraResultStatusChanged;
- (void)notifyCameraFrameShapeTypeChanged;
- (void)notifyMultipageButtonBackgroundColorChanged;
- (void)notifyCameraFrameBorderWidthChanged;
- (void)notifyActivityIndicatorColorChanged;
- (void)notifyResultStatusBackgroundColorChanged;
- (void)notifyCameraFrameLineLengthChanged;
- (void)notifyCameraFrameOffsetWidthChanged;
- (void)notifyShowBackgroundMaskChanged;
- (void)notifyBorderBackgroundImageChanged;
- (void)notifyBackgroundMaskAlphaChanged;
- (void)notifyMultipageAnimationFrontImageContentModeChanged;
- (void)notifyMultipageAnimationBackImageContentModeChanged;
- (void)notifyBorderBackgroundImageContentModeChanged;
- (void)notifyMultipageAnimationFrontImageChanged;
- (void)notifyMultipageAnimationBackImageChanged;
- (void)notifyCustomLabelStatusChanged;
- (void)notifyLivenessAnimationImageChanged;
- (void)notifyLivenessAnimationImageContentModeChanged;
- (void)notifyCustomUILayerJSONChanged;

- (void)closeCameraViewController:(void(^_Nullable)(void))completion;
    
@end

Swift

class DocumentReaderCameraViewController : UIViewController

Undocumented

  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) BOOL resultStatusLocked

    Swift

    var resultStatusLocked: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(readonly, nonatomic, assign) AVCaptureDevicePosition cameraPosition

    Swift

    var cameraPosition: AVCaptureDevice.Position { get }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) BOOL showHelpPopup

    Swift

    var showHelpPopup: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) BOOL helpAnimationShowed

    Swift

    var helpAnimationShowed: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) BOOL showResultMessages

    Swift

    var showResultMessages: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) BOOL showStatusMessages

    Swift

    var showStatusMessages: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) BOOL recognizeWasInterrupted

    Swift

    var recognizeWasInterrupted: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) BOOL skipNextPageRecognition

    Swift

    var skipNextPageRecognition: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) double motionRate

    Swift

    var motionRate: Double { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) NSString *cameraStatusString

    Swift

    var cameraStatusString: String? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) RGLDocumentReaderResults *latestResult

    Swift

    var latestResult: DocumentReaderResults? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, getter=isCameraControllerPresentedModally) BOOL cameraControllerPresentedModally

    Swift

    var isCameraControllerPresentedModally: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) RGLPreviewView *previewView

    Swift

    var previewView: PreviewView? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) UIButton *closeButton

    Swift

    var closeButton: UIButton? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) UIButton *flashButton

    Swift

    var flashButton: UIButton? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) UIButton *swapCameraButton

    Swift

    var swapCameraButton: UIButton? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) UIButton *bleButton

    Swift

    var bleButton: UIButton? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) UIButton *batteryButton

    Swift

    var batteryButton: UIButton? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) UILabel *statusLabel

    Swift

    var statusLabel: UILabel? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) UIView *statusView

    Swift

    var statusView: UIView? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) UIButton *captureButton

    Swift

    var captureButton: UIButton? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) UIButton *skipMultipageButton

    Swift

    var skipMultipageButton: UIButton? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) UILabel *resultStatusLabel

    Swift

    var resultStatusLabel: UILabel? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) UIView *resultStatusView

    Swift

    var resultStatusView: UIView? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) UIButton *frameSizeButton

    Swift

    var frameSizeButton: UIButton? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) RGLMaskView *maskView

    Swift

    var maskView: MaskView? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) UILabel *logoLabel

    Swift

    var logoLabel: UILabel? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) UIImageView *logoImage

    Swift

    var logoImage: UIImageView? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) RGLCornerView *borderView

    Swift

    var borderView: CornerView? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) UIView *focusView

    Swift

    var focusView: UIView? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) UILabel *cameraUnavailableLabel

    Swift

    var cameraUnavailableLabel: UILabel? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) RGLActivityIndicator *activityIndicator

    Swift

    var activityIndicator: ActivityIndicator? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) RGLDocumentView *multipageScaningView

    Swift

    var multipageScaningView: DocumentView? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) RGLDocumentView *helpAnimationView

    Swift

    var helpAnimationView: DocumentView? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) UIImageView *borderPlaceholderImage

    Swift

    var borderPlaceholderImage: UIImageView? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) BOOL barcodeEnabled

    Swift

    var barcodeEnabled: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) BOOL faceEnabled

    Swift

    var faceEnabled: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) RGLCameraScanMode cameraScanMode

    Swift

    var cameraScanMode: CameraScanMode { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) UILabel *customLabel

    Swift

    var customLabel: UILabel? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, weak, nullable) id<RGLDocumentReaderCameraViewControllerDelegate> cameraViewControllerDelegate

    Swift

    weak var cameraViewControllerDelegate: (any RGLDocumentReaderCameraViewControllerDelegate)? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, nullable) RGLCameraViewControllerHandler cameraViewControllerHandler

    Swift

    var cameraViewControllerHandler: CameraViewControllerHandler? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) BOOL recognitionIsActive

    Swift

    var recognitionIsActive: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) BOOL showChangeFrameButton

    Swift

    var showChangeFrameButton: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign) RGLDocReaderFrame currentCameraFrame

    Swift

    var currentCameraFrame: DocReaderFrame { get set }
  • Undocumented

    Declaration

    Objective-C

    - (void)closeTapped:(UIButton *)button;

    Swift

    func closeTapped(_ button: UIButton)
  • Undocumented

    Declaration

    Objective-C

    - (void)flashTapped:(UIButton *)button;

    Swift

    func flashTapped(_ button: UIButton)
  • Undocumented

    Declaration

    Objective-C

    - (void)swapTapped:(UIButton *)button;

    Swift

    func swapTapped(_ button: UIButton)
  • Undocumented

    Declaration

    Objective-C

    - (void)captureButtonTapped:(UIButton *)button;

    Swift

    func captureButtonTapped(_ button: UIButton)
  • Undocumented

    Declaration

    Objective-C

    - (void)skipMultipageTapped:(UIButton *)button;

    Swift

    func skipMultipageTapped(_ button: UIButton)
  • Undocumented

    Declaration

    Objective-C

    - (void)changeFrameTapped:(UIButton *)button;

    Swift

    func changeFrameTapped(_ button: UIButton)
  • Undocumented

    Declaration

    Objective-C

    - (void)processParamChanged;

    Swift

    func processParamChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)setHiddenForFlashButton:(BOOL)isHidden;

    Swift

    func setHiddenForFlashButton(_ isHidden: Bool)
  • Undocumented

    Declaration

    Objective-C

    - (void)setHiddenForCloseButton:(BOOL)isHidden;

    Swift

    func setHiddenForCloseButton(_ isHidden: Bool)
  • Undocumented

    Declaration

    Objective-C

    - (void)setHiddenForCaptureButton:(BOOL)isHidden;

    Swift

    func setHiddenForCaptureButton(_ isHidden: Bool)
  • Undocumented

    Declaration

    Objective-C

    - (void)setHiddenForSwapCameraButton:(BOOL)isHidden;

    Swift

    func setHiddenForSwapCameraButton(_ isHidden: Bool)
  • Undocumented

    Declaration

    Objective-C

    - (void)setVideoSessionPreset:(AVCaptureSessionPreset )sessionPreset;

    Swift

    func setVideoSessionPreset(_ sessionPreset: AVCaptureSession.Preset)
  • Undocumented

    Declaration

    Objective-C

    - (void)setVideoZoomFactor:(CGFloat)videoZoomFactor;

    Swift

    func setVideoZoomFactor(_ videoZoomFactor: CGFloat)
  • Undocumented

    Declaration

    Objective-C

    - (void)setAVCaptureDevicePosition:(AVCaptureDevicePosition)cameraPosition;

    Swift

    func setAVCaptureDevicePosition(_ cameraPosition: AVCaptureDevice.Position)
  • Undocumented

    Declaration

    Objective-C

    - (void)enableProcessingUI:(BOOL)enable;

    Swift

    func enableProcessingUI(_ enable: Bool)
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyCameraPreviewBackgroundColorChanged;

    Swift

    func notifyCameraPreviewBackgroundColorChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyTintColorChanged;

    Swift

    func notifyTintColorChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyResultStatusTextColorChanged;

    Swift

    func notifyResultStatusTextColorChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyResultStatusTextFontChanged;

    Swift

    func notifyResultStatusTextFontChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyCameraFrameDefaultColorChanged;

    Swift

    func notifyCameraFrameDefaultColorChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyCameraFrameActiveColorChanged;

    Swift

    func notifyCameraFrameActiveColorChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyStatusTextColorChanged;

    Swift

    func notifyStatusTextColorChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyStatusTextFontChanged;

    Swift

    func notifyStatusTextFontChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyStatusBackgroundColorChanged;

    Swift

    func notifyStatusBackgroundColorChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyShowStatusMessagesChanged;

    Swift

    func notifyShowStatusMessagesChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyShowResultStatusMessagesChanged;

    Swift

    func notifyShowResultStatusMessagesChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyCameraStatusChanged;

    Swift

    func notifyCameraStatusChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyCameraResultStatusChanged;

    Swift

    func notifyCameraResultStatusChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyCameraFrameShapeTypeChanged;

    Swift

    func notifyCameraFrameShapeTypeChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyMultipageButtonBackgroundColorChanged;

    Swift

    func notifyMultipageButtonBackgroundColorChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyCameraFrameBorderWidthChanged;

    Swift

    func notifyCameraFrameBorderWidthChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyActivityIndicatorColorChanged;

    Swift

    func notifyActivityIndicatorColorChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyResultStatusBackgroundColorChanged;

    Swift

    func notifyResultStatusBackgroundColorChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyCameraFrameLineLengthChanged;

    Swift

    func notifyCameraFrameLineLengthChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyCameraFrameOffsetWidthChanged;

    Swift

    func notifyCameraFrameOffsetWidthChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyShowBackgroundMaskChanged;

    Swift

    func notifyShowBackgroundMaskChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyBorderBackgroundImageChanged;

    Swift

    func notifyBorderBackgroundImageChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyBackgroundMaskAlphaChanged;

    Swift

    func notifyBackgroundMaskAlphaChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyMultipageAnimationFrontImageContentModeChanged;

    Swift

    func notifyMultipageAnimationFrontImageContentModeChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyMultipageAnimationBackImageContentModeChanged;

    Swift

    func notifyMultipageAnimationBackImageContentModeChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyBorderBackgroundImageContentModeChanged;

    Swift

    func notifyBorderBackgroundImageContentModeChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyMultipageAnimationFrontImageChanged;

    Swift

    func notifyMultipageAnimationFrontImageChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyMultipageAnimationBackImageChanged;

    Swift

    func notifyMultipageAnimationBackImageChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyCustomLabelStatusChanged;

    Swift

    func notifyCustomLabelStatusChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyLivenessAnimationImageChanged;

    Swift

    func notifyLivenessAnimationImageChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyLivenessAnimationImageContentModeChanged;

    Swift

    func notifyLivenessAnimationImageContentModeChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)notifyCustomUILayerJSONChanged;

    Swift

    func notifyCustomUILayerJSONChanged()
  • Undocumented

    Declaration

    Objective-C

    - (void)closeCameraViewController:(void(^_Nullable)(void))completion;

    Swift

    func close() async