TextConfiguration
The TextConfiguration class is used to configure the texts of the labels that appear to the user during SDK execution.
This class presents the following instance configuration methods:
| method | arguments | description |
|---|---|---|
| setCustomText | on: Label, text: String | (optional) Text that will be used to replace the default text of the SDK introduction screen; Available labels: .onboardingTitle, .onboardingFirstLabel and .onboardingSecondLabel. |
Enumerators
The possible values of the ZaigIosOcrEnvironment enumerator can be:
ZaigIosOcrEnvironment.Sandbox- Used to use the SDK in QI Tech's sandbox environment.ZaigIosOcrEnvironment.Production- Used to use the SDK in QI Tech's production environment.
Attention
Mobile Tokens for sandbox and production environments are different and must be requested from QI Tech's support team.
The possible values of the ZaigIosOcrDocumentFlow enumerator can be:
ZaigIosOcrDocumentFlow.CnhFull- Used to collect a single photo of the open CNH.ZaigIosOcrDocumentFlow.CnhFrontAndBack- Used to collect the CNH photo in two steps, first the front and then the back.ZaigIosOcrDocumentFlow.CnhFront- Used to collect the photo only of the CNH front.ZaigIosOcrDocumentFlow.CnhBack- Used to collect the photo only of the CNH back.ZaigIosOcrDocumentFlow.CnhDigital- Used to collect the PDF of Digital CNH.ZaigIosOcrDocumentFlow.RgFrontAndBack- Used to collect the RG photo in two steps, first the front and then the back.ZaigIosOcrDocumentFlow.RgFront- Used to collect the photo only of the RG front.ZaigIosOcrDocumentFlow.RgBack- Used to collect the photo only of the RG back.ZaigIosOcrDocumentFlow.ProofOfAddress- Used to collect the proof of address photo.ZaigIosOcrDocumentFlow.NationalRegistryOfForeignersFrontAndBack- Used to collect the National Registry of Foreigners photo in two steps, first the front and then the back.ZaigIosOcrDocumentFlow.NationalRegistryOfForeignersFront- Used to collect the photo only of the National Registry of Foreigners front.ZaigIosOcrDocumentFlow.NationalRegistryOfForeignersBack- Used to collect the photo only of the National Registry of Foreigners back.