ScannerResults enum

Result codes returned by scanner operations.

Indicates the success or failure reason of a scan session.

See: https://techdocs.zebra.com/emdk-for-android/13-0/api/reference/com/symbol/emdk/barcode/scannerresults

Inheritance
Available extensions

Values

success → const ScannerResults

The operation completed successfully.

const ScannerResults('SUCCESS')
failure → const ScannerResults

An unspecified failure occurred.

const ScannerResults('FAILURE')
alreadyScanning → const ScannerResults

The scanner is already in the process of scanning.

const ScannerResults('ALREADY_SCANNING')
dataParsingFailure → const ScannerResults

An error occurred while parsing data from the scanner.

const ScannerResults('DATA_PARSING_FAILURE')
featureNotSupported → const ScannerResults

The requested feature is not supported by this scanner.

const ScannerResults('FEATURE_NOT_SUPPORTED')
invalidObject → const ScannerResults

The scanner object is invalid or has been released.

const ScannerResults('INVALID_OBJECT')
invalidValue → const ScannerResults

An invalid value was provided to a scanner parameter.

const ScannerResults('INVALID_VALUE')
lengthMismatch → const ScannerResults

A length mismatch was detected in the scanner configuration.

const ScannerResults('LENGTH_MISMATCH')
noDataListener → const ScannerResults

No data listener was registered before calling read.

const ScannerResults('NO_DATA_LISTENER')
scanDataFailure → const ScannerResults

An error occurred while collecting scan data.

const ScannerResults('SCAN_DATA_FAILURE')
scanParamNotSupported → const ScannerResults

A scanner parameter is not supported by this device.

const ScannerResults('SCAN_PARAM_NOT_SUPPORTED')
scanParamReadOnly → const ScannerResults

A scanner parameter is read-only and cannot be changed.

const ScannerResults('SCAN_PARAM_READ_ONLY')
scannerDeinitFailure → const ScannerResults

The scanner failed to de-initialise.

const ScannerResults('SCANNER_DEINIT_FAILURE')
scannerInUse → const ScannerResults

The scanner is currently in use by another application.

const ScannerResults('SCANNER_IN_USE')
scannerInitFailure → const ScannerResults

The scanner failed to initialise.

const ScannerResults('SCANNER_INIT_FAILURE')
scannerNotConnected → const ScannerResults

The scanner is not connected.

const ScannerResults('SCANNER_NOT_CONNECTED')
scannerNotEnabled → const ScannerResults

The scanner is not enabled.

const ScannerResults('SCANNER_NOT_ENABLED')
scannerNotSupported → const ScannerResults

The scanner type is not supported on this device.

const ScannerResults('SCANNER_NOT_SUPPORTED')
scannerOperationFailure → const ScannerResults

A generic scanner operation failure occurred.

const ScannerResults('SCANNER_OPERATION_FAILURE')
scannerTimedOut → const ScannerResults

The scanner operation timed out.

const ScannerResults('SCANNER_TIMED_OUT')
triggerKeyInUse → const ScannerResults

The trigger key is already in use by another component.

const ScannerResults('TRIGGER_KEY_IN_USE')
triggerKeyRegFailed → const ScannerResults

Failed to register the trigger key.

const ScannerResults('TRIGGER_KEY_REG_FAILED')
triggerKeyUnregFailed → const ScannerResults

Failed to unregister the trigger key.

const ScannerResults('TRIGGER_KEY_UNREG_FAILED')
undefined → const ScannerResults

The result code is undefined or unknown.

const ScannerResults('UNDEFINED')
unlicensedFeature → const ScannerResults

The requested feature requires a license that is not present.

const ScannerResults('UNLICENSED_FEATURE')
vfError → const ScannerResults

A video-frame error occurred during scanning.

const ScannerResults('VF_ERROR')

Properties

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
value String
The string value used when serialising/deserialising over the platform channel.
final

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

fromValue(String value) ScannerResults
Returns the ScannerResults whose value matches value.

Constants

values → const List<ScannerResults>
A constant List of the values in this enum, in order of their declaration.