AUICaptureController interface

Configures the work with camera preview. Provides properties for specifying capture scenario and customizing the user interface appearance.

If created without initial view controller, pushes camera controller automatically.

Properties

Name Type Description
cameraOverlayView UIView*

Camera overlay view. Shows over camera view.

To define in storyboard it must be placed outside AUICaptureController.

cameraSettings AUICameraSettings

Camera settings for current capture session.

If the capture session is not started, this property is nil.

captureButton UIButton*

Button for starting a capture process.

In an image capture scenario the process is started automatically. A data capture scenario is started automatically only if a document for capture is been detected. This button can be useful for cases when it is convenient to start the process manually.

captureScenario AUICaptureScenario*

Capture scenario that will be performed on the camera preview.

 Note: Only image capture scenario is currently supported.

closeButton UIButton* Button for closing the camera preview.
customColor UIColor* Custom color of the button for manual taking photo.
flashButton UIButton*

Camera torch toggle button.

Selected state is stored in NSUserDefaults.

galleryButton UIButton* Button for opening a gallery.
localizedStringsBundle NSBundle*

Bundle storing the localized source strings for the interface.

 Note: By default all the strings are in English. To change the interface language according to your needs, please localize the source strings in the AbbyyUI.strings file located in the AbbyyUI.framework.

manualCaptureButton UIButton*

Button for immediate capture of an image from a video stream.

This button can be valid only if the capture process is started. In an image capture scenario it is started automatically. A data capture scenario is started automatically only if a document for capture is been detected.

To start the capture process manually implement a button via the captureButton property.

paused BOOL Indicates if the scenario is in a paused state.
theme AUITheme

Deprecated.

Color theme of the user interface, defining colors of the text, buttons’ background, etc. The theme can be light or dark.

Methods

Name Description
- pushCameraControllerAnimated:animated:

Pushes the camera controller.

 Note: This method is used in case camera controller is not the only controller inside the AUICaptureController object and so is not pushed automatically.

- setPaused:animated: Sets or turns off the paused state.

02.03.2022 12:59:15

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.