Appearance
Mobile Document Scanner API Reference / EnumFlowType
Enumeration: EnumFlowType
Defined in: src/views/utils/types.ts:98
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
Document was detected and cropped automatically without user intervention.
MANUAL
MANUAL:
"manual"
Defined in: src/views/utils/types.ts:102
User manually captured the document via camera button.
SMART_CAPTURE
SMART_CAPTURE:
"smartCapture"
Defined in: src/views/utils/types.ts:106
Document was automatically captured when stable boundaries were detected.
STATIC_FILE
STATIC_FILE:
"staticFile"
Defined in: src/views/utils/types.ts:118
Document was loaded from a static file path or URL.
UPLOADED_IMAGE
UPLOADED_IMAGE:
"uploadedImage"
Defined in: src/views/utils/types.ts:114
Document image was uploaded from device storage.