Configurations
This section describes the available camera configurations.
The camera feature is customizable and allows configuring the activity texts and colors.
The configurations can be defined as exemplified below:
For more information about each possible configuration see the corresponding data model below:
Models
i18n: CameraTexts?
Defines the texts used for the camera preview.
style: CameraStyles?
Defines the styles of the camera preview.
side: PhotoSide?
Defines which side of the camera to open
enableInactive: InactiveOptions?
Defines the configurations for inactivity popup. Defaults to true and 30 (seconds).
focusTextColor: UIColor?
Defines the color of the text shown when the image is out of focus.
focusBackgroundColor: UIColor?
Defines the color of the background shown behind the text, when the image is out of focus.
infoButtonColor: UIColor?
Defines color of the more information button.
outOfFocus: String?
Defines the text shown when the image is out of focus.
infoMessage: String?
Defines the text shown inside the more information dialog.
infoButton: String?
Defines the text of the close button inside the more information dialog.
Was this helpful?