# Enumeration: EnumFlowType

[Mobile Document Scanner API Reference](../index.md) / EnumFlowType

# Enumeration: EnumFlowType

Defined in: [src/views/utils/types.ts:98](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/views/utils/types.ts#L98)

Enumeration of document scanning flow types indicating capture method.

## Remarks

Tracks how document was captured. Used by `shouldCorrectImage` to determine correction behavior.

## Enumeration Members

### AUTO\_CROP

> **AUTO\_CROP**: `"autoCrop"`

Defined in: [src/views/utils/types.ts:110](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/views/utils/types.ts#L110)

Document was detected and cropped automatically without user intervention.

***

### MANUAL

> **MANUAL**: `"manual"`

Defined in: [src/views/utils/types.ts:102](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/views/utils/types.ts#L102)

User manually captured the document via camera button.

***

### SMART\_CAPTURE

> **SMART\_CAPTURE**: `"smartCapture"`

Defined in: [src/views/utils/types.ts:106](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/views/utils/types.ts#L106)

Document was automatically captured when stable boundaries were detected.

***

### STATIC\_FILE

> **STATIC\_FILE**: `"staticFile"`

Defined in: [src/views/utils/types.ts:118](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/views/utils/types.ts#L118)

Document was loaded from a static file path or URL.

***

### UPLOADED\_IMAGE

> **UPLOADED\_IMAGE**: `"uploadedImage"`

Defined in: [src/views/utils/types.ts:114](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/views/utils/types.ts#L114)

Document image was uploaded from device storage.
