# CaptureMode

`CaptureMode` enumeration contains possible scanning modes.

```java
public class CaptureMode {
    public static final int AUTO = 0;
    public static final int CAPTURE_VIDEO = 1;
    public static final int CAPTURE_FRAME = 2;
}
```

| Constant           | Description                                                                                                                                                    |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **AUTO**           | The flow of frames starts to be processed right after a [scenario](https://regulaforensics.gitbook.io/android/5.3-4/scenarios) is started                      |
| **CAPTURE\_VIDEO** | The flow of frames starts to be processed right after the [Capture button](https://regulaforensics.gitbook.io/android/5.3-4/custom-settings#buttons) is pushed |
| **CAPTURE\_FRAME** | The frame starts to be processed right after the [Capture button](https://regulaforensics.gitbook.io/android/5.3-4/custom-settings#buttons) is pushed          |
