DetectionSpeed enum

The detection speed of the scanner.

Inheritance
Available extensions

Values

noDuplicates → const DetectionSpeed

The scanner will only scan a barcode once, and never again until another barcode has been scanned.

Bear in mind that this mode analyzes every frame, in order to check if the value has changed.

const DetectionSpeed(0)
normal → const DetectionSpeed

The barcode scanner will scan barcodes, while respecting the configured scan timeout between individual scans.

const DetectionSpeed(1)
unrestricted → const DetectionSpeed

The barcode scanner will scan barcodes, without any restrictions.

Bear in mind that this mode can cause memory issues on older devices.

const DetectionSpeed(2)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
rawValue int
The raw value for the detection speed.
final
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

Constants

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