---
title: Enums
canonical: https://developer.unico.io/dual-api/developers/sdks-and-tools/android/api-reference/enums
locale: en
generated_by: markdown-export
---

## DocumentType

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

| Value | Description |
|---|---|
| `RG_FRENTE` | Brazilian RG — front side |
| `RG_VERSO` | Brazilian RG — back side |
| `CNH` | Brazilian driver's license — full document |
| `CNH_FRENTE` | Brazilian driver's license — front side |
| `CNH_VERSO` | Brazilian driver's license — back side |
| `CPF` | Brazilian CPF card |
| `NONE` | Generic capture without a specific document frame. Useful for custom documents or when the document type is unknown. |

```kotlin
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.

| Value | Description |
|---|---|
| `PT_BR` | Portuguese (Brazil) |
| `ES_MX` | Spanish (Mexico) |
| `ES_ES` | Spanish (Spain) |
| `EN_US` | English (USA) |

```kotlin
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.

| Value | Description |
|---|---|
| `PROD` | Production environment |
| `UAT` | UAT / sandbox environment |

```kotlin
enum class Environment {
    PROD,
    UAT,
}
```