Skip to main content

Enums

Markdown
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.

ValueDescription
RG_FRENTEBrazilian RG — front side
RG_VERSOBrazilian RG — back side
CNHBrazilian driver's license — full document
CNH_FRENTEBrazilian driver's license — front side
CNH_VERSOBrazilian driver's license — back side
CPFBrazilian CPF card
NONEGeneric 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.

ValueDescription
PT_BRPortuguese (Brazil)
ES_MXSpanish (Mexico)
ES_ESSpanish (Spain)
EN_USEnglish (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.

ValueDescription
PRODProduction environment
UATUAT / sandbox environment
enum class Environment {
PROD,
UAT,
}