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
CameraTexts? i18n
Defines the texts used for the camera preview.
CameraStyles? style
Defines the styles of the camera preview.
Int fileMaxMegabytes
Maximum file size of the captured photo.
Defaults to 10.
@ColorRes Int? focusTextColor
Defines the color of the text shown when the image is out of focus.
@ColorRes Int? focusBackgroundColor
Defines the color of the background shown behind the text, when the image is out of focus.
@ColorRes Int? infoButtonColor
Defines color of the more information button.
String? outOfFocus
Defines the text shown when the image is out of focus.
String? infoMessage
Defines the text shown inside the more information dialog.
String? infoButton
Defines the text of the close button inside the more information dialog.
Was this helpful?