ScannerErrorCode enum
Error codes for scanner operations
Values
- initializationFailed → const ScannerErrorCode
-
const ScannerErrorCode('INITIALIZATION_FAILED')
- alreadyInitialized → const ScannerErrorCode
-
const ScannerErrorCode('ALREADY_INITIALIZED')
- permissionDenied → const ScannerErrorCode
-
const ScannerErrorCode('PERMISSION_DENIED')
- permissionRestricted → const ScannerErrorCode
-
const ScannerErrorCode('PERMISSION_RESTRICTED')
- permissionNotDetermined → const ScannerErrorCode
-
const ScannerErrorCode('PERMISSION_NOT_DETERMINED')
- cameraNotAvailable → const ScannerErrorCode
-
const ScannerErrorCode('CAMERA_NOT_AVAILABLE')
- cameraInUse → const ScannerErrorCode
-
const ScannerErrorCode('CAMERA_IN_USE')
- cameraError → const ScannerErrorCode
-
const ScannerErrorCode('CAMERA_ERROR')
- scanningNotActive → const ScannerErrorCode
-
const ScannerErrorCode('SCANNING_NOT_ACTIVE')
- scanningAlreadyActive → const ScannerErrorCode
-
const ScannerErrorCode('SCANNING_ALREADY_ACTIVE')
- scanTimeout → const ScannerErrorCode
-
const ScannerErrorCode('SCAN_TIMEOUT')
- fileNotFound → const ScannerErrorCode
-
const ScannerErrorCode('FILE_NOT_FOUND')
- fileReadError → const ScannerErrorCode
-
const ScannerErrorCode('FILE_READ_ERROR')
- invalidImageFormat → const ScannerErrorCode
-
const ScannerErrorCode('INVALID_IMAGE_FORMAT')
- invalidConfiguration → const ScannerErrorCode
-
const ScannerErrorCode('INVALID_CONFIGURATION')
- unsupportedFormat → const ScannerErrorCode
-
const ScannerErrorCode('UNSUPPORTED_FORMAT')
- featureNotSupported → const ScannerErrorCode
-
const ScannerErrorCode('FEATURE_NOT_SUPPORTED')
- zoomNotSupported → const ScannerErrorCode
-
const ScannerErrorCode('ZOOM_NOT_SUPPORTED')
- focusNotSupported → const ScannerErrorCode
-
const ScannerErrorCode('FOCUS_NOT_SUPPORTED')
- macroNotSupported → const ScannerErrorCode
-
const ScannerErrorCode('MACRO_NOT_SUPPORTED')
- hdrNotSupported → const ScannerErrorCode
-
const ScannerErrorCode('HDR_NOT_SUPPORTED')
- stabilizationNotSupported → const ScannerErrorCode
-
const ScannerErrorCode('STABILIZATION_NOT_SUPPORTED')
- platformError → const ScannerErrorCode
-
const ScannerErrorCode('PLATFORM_ERROR')
- methodNotImplemented → const ScannerErrorCode
-
const ScannerErrorCode('METHOD_NOT_IMPLEMENTED')
- internalError → const ScannerErrorCode
-
const ScannerErrorCode('INTERNAL_ERROR')
- networkError → const ScannerErrorCode
-
const ScannerErrorCode('NETWORK_ERROR')
- unknownError → const ScannerErrorCode
-
const ScannerErrorCode('UNKNOWN_ERROR')
Properties
- code → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromString(
String code) → ScannerErrorCode
Constants
-
values
→ const List<
ScannerErrorCode> - A constant List of the values in this enum, in order of their declaration.