Enums
DocumentType
Defines the type of document to be captured. Passed to prepareDocumentCamera to configure the capture session.
| Value | Description |
|---|---|
RG_FRENTE | Brazilian RG — front side |
RG_VERSO | Brazilian RG — back side |
CNH | Brazilian driver's license — full document |
CNH_FRENTE | Brazilian driver's license — front side |
CNH_VERSO | Brazilian driver's license — back side |
CPF | Brazilian CPF card |
NONE | No specific document type defined |
enum class DocumentType {
RG_FRENTE,
RG_VERSO,
CNH,
CNH_FRENTE,
CNH_VERSO,
CPF,
NONE;
}
LocaleTypes
Defines the language used in the SDK UI. Passed during SDK initialization to set the interface locale.
| Value | Description |
|---|---|
PT_BR | Portuguese (Brazil) |
ES_MX | Spanish (Mexico) |
ES_ES | Spanish (Spain) |
EN_US | English (USA) |
enum class LocaleTypes {
PT_BR,
ES_MX,
ES_ES,
EN_US;
}
Environment
Defines the target environment for SDK operations. Passed during SDK initialization to configure the environment.
| Value | Description |
|---|---|
PROD | Production environment |
UAT | Sandbox / testing environment |
enum class Environment {
PROD,
UAT;
}