# DocReaderAction

`DocReaderAction` enumeration contains all possible notification codes about reading process.

```java
public class DocReaderAction {
    public static final int COMPLETE = 1;
    public static final int PROCESS = 0;
    public static final int CANCEL = 2;
    public static final int ERROR = 3;
    public static final int NOTIFICATION = 5;
    public static final int PROCESS_WHITE_UV_IMAGES = 6;
    public static final int PROCESS_WHITE_FLASHLIGHT = 7;
    public static final int MORE_PAGES_AVAILABLE = 8;
}
```

| Constant                   | Description                                                                                                     |
| -------------------------- | --------------------------------------------------------------------------------------------------------------- |
| **COMPLETE**               | Processing finished, the results were received                                                                  |
| **PROCESS**                | Processing didn't finish, intermediate results may be obtained                                                  |
| **CANCEL**                 | Processing was cancelled, incomplete results may be obtained                                                    |
| **ERROR**                  | An error occurred during processing, incomplete results may be obtained                                         |
| **NOTIFICATION**           | Notification from long running task arrived, `DocumentReaderNotification` available, all other results are null |
| **MORE\_PAGES\_AVAILABLE** | Processing completed for a single page                                                                          |


---

# 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.6-5/enumerations/docreaderaction.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.
