Skip to main content

Enums

Markdown
DocumentType

Defines the type of document to be captured. Passed to openCameraDocument to configure the capture session.

ValueDescription
DocumentType.​CPFCapture the CPF
DocumentType.​CNHCapture the open CNH
DocumentType.​CNH_FRENTECapture the front of the CNH
DocumentType.​CNH_VERSOCapture the back of the CNH
DocumentType.​RG_FRENTECapture the front of the RG
DocumentType.​RG_VERSOCapture the back of the RG
UnicoEnvironment

Defines the environment used during plugin execution. The default is UnicoEnvironment.​PROD.

ValueDescription
UnicoEnvironment.​PRODProduction environment
UnicoEnvironment.​UATStaging environment
UnicoLocaleTypes

Defines the language used in the SDK UI.

ValueDescription
UnicoLocaleTypes.PT_BRPortuguese (Brazil)
UnicoLocaleTypes.ES_MXSpanish (Mexico)
UnicoLocaleTypes.ES_ESSpanish (Spain)
UnicoLocaleTypes.EN_USEnglish (USA)