Skip to main content

Enums

DocumentType

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

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
UATSandbox / testing environment
enum class Environment {
PROD,
UAT;
}