Configurations
This section describes the available camera configurations.
The camera feature is customizable and allows configuring the texts and colors for the nfc scan.
The configurations can be defined as exemplified below:
For more information about each possible configuration see the corresponding data model below:
Models
colors: NFCColors?
Defines all the colors for nfc scan.
translations: Translations?
Defines all the texts used in nfc scan.
primary: String?
Defines the hex value for the primary color of the nfc scan.
secondary: String?
Defines the hex value for the secondary color of the nfc scan.
error: String?
Defines the hex value for the error color of the nfc scan.
base: String?
Defines the hex value for the base color of the nfc scan.
cta: Cta?
Defines the texts for the main action buttons.
nfc: Nfc?
Defines the texts shown during the NFC scanning process.
move: Move?
Defines all move texts.
positive: Positive?
Defines all the positive texts.
negative: Negative?
Defines all the negative texts.
takeAction: TakeAction?
Defines all take action texts.
close: String?
Defines the close texts.
continue: String?
Defines the continue texts.
skip: String?
Defines the skip texts.
confirm: String?
Defines confirm texts.
cancel: String?
Defines cancel texts.
retake: String?
Defines the retake texts.
settings: String?
Defines the settings texts.
scanTitle: String?
Defines the NFC instructions title text.
scanDescription: String?
Defines the NFC instructions description text.
scanCaption: String?
Defines the NFC instructions for scan caption text.
scanManual: String?
Defines the NFC instructions for scan manual text.
scanClick: String?
Defines the NFC instructions for scan button click text.
scanPreview: String?
Defines the NFC instructions for scan preview text.
instructionsTitle: String?
Defines the NFC instructions for scan instructions title text.
instructionsSlide1Description: String?
Defines the NFC instructions first slide text.
instructionsSlide2Description: String?
Defines the NFC instructions second slide text.
instructionsSlide3Description: String?
Defines the NFC instructions third slide text.
instructionsSlide4Description: String?
Defines the NFC instructions fourth slide text.
permissionTitle: String?
Defines the NFC instructions for permission title text.
permissionDescription: String?
Defines the NFC instructions for permission description text.
nfcTitle: String?
Defines the NFC scan title text.
nfcDescription: String?
Defines the NFC scan description text.
nfcHold: String?
Defines the NFC scan hold still text.
nfcCompleted: String?
Defines the NFC scan completed text.
nfcError: String?
Defines the NFC
scan error text.
errorTitle: String?
Defines the error title text.
errorDescription: String?
Defines the error description text.
Was this helpful?