Enums
DocumentType
warning
For security reasons, Android SDK 6.13.0 and later no longer include the native document capture. The public API still exists for now, but calling it returns error 73905, "Unable to open document camera". It will be removed in an upcoming version. For more information, contact your CSM.
Deprecated since Android SDK 6.13.0. 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 | Generic capture without a specific document frame. Useful for custom documents or when the document type is unknown. |
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 | UAT / sandbox environment |
enum class Environment {
PROD,
UAT,
}