Enums
DocumentCameraTypes
Defines the type of document to be captured. Passed to openCameraDocument to configure the capture session.
| Value | Description |
|---|---|
DocumentCameraTypes.CPF | Capture the CPF |
DocumentCameraTypes.CNH | Capture the open CNH |
DocumentCameraTypes.CNH_FRENTE | Capture the front of the CNH |
DocumentCameraTypes.CNH_VERSO | Capture the back of the CNH |
DocumentCameraTypes.RG_FRENTE | Capture the front of the RG |
DocumentCameraTypes.RG_VERSO | Capture the back of the RG |
DocumentCameraTypes.OUTROS("descrição") | Generic frame for any other document |
UnicoEnvironment
Defines the environment used during plugin execution.
| Value | Description |
|---|---|
UnicoEnvironment.PROD | Production environment |
UnicoEnvironment.UAT | Staging environment |
LocaleTypes
Defines the language used in the SDK UI.
| Value | Description |
|---|---|
LocaleTypes.PT_BR | Portuguese (Brazil) |
LocaleTypes.ES_MX | Spanish (Mexico) |
LocaleTypes.ES_ES | Spanish (Spain) |
LocaleTypes.EN_US | English (USA) |