# 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](/android/5.3-4/scenarios.md) is started                      |
| **CAPTURE\_VIDEO** | The flow of frames starts to be processed right after the [Capture button](/android/5.3-4/custom-settings.md#buttons) is pushed |
| **CAPTURE\_FRAME** | The frame starts to be processed right after the [Capture button](/android/5.3-4/custom-settings.md#buttons) is pushed          |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://regulaforensics.gitbook.io/android/5.3-4/enumerations/capturemode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
