Enums
DocumentType
Defines the type of document to be captured. Passed to openCameraDocument to configure the capture session.
| Value | Description |
|---|---|
DocumentType.CPF | Capture the CPF |
DocumentType.CNH | Capture the open CNH |
DocumentType.CNH_FRENTE | Capture the front of the CNH |
DocumentType.CNH_VERSO | Capture the back of the CNH |
DocumentType.RG_FRENTE | Capture the front of the RG |
DocumentType.RG_VERSO | Capture the back of the RG |
UnicoEnvironment
Defines the environment used during plugin execution. The default is UnicoEnvironment.PROD.
| Value | Description |
|---|---|
UnicoEnvironment.PROD | Production environment |
UnicoEnvironment.UAT | Staging environment |
UnicoLocaleTypes
Defines the language used in the SDK UI.
| Value | Description |
|---|---|
UnicoLocaleTypes.PT_BR | Portuguese (Brazil) |
UnicoLocaleTypes.ES_MX | Spanish (Mexico) |
UnicoLocaleTypes.ES_ES | Spanish (Spain) |
UnicoLocaleTypes.EN_US | English (USA) |