ScannerStatusType enum Null safety

Constants

DISABLED → const ScannerStatusType

Scanner is disabled. This is broadcasted by the scanner plug-in when the active profile becomes disabled manually or the scanner is disabled with an intent

const ScannerStatusType(3)
IDLE → const ScannerStatusType

Scanner is in one of the following states: enabled but not yet in the waiting state, in the suspended state by an intent (e.g. SUSPEND_PLUGIN) or disabled due to the hardware trigger.

const ScannerStatusType(2)
SCANNING → const ScannerStatusType

Scanner has emitted the scan beam and scanning is in progress*/

const ScannerStatusType(1)
values → const List<ScannerStatusType>

A constant List of the values in this enum, in order of their declaration.

const List<ScannerStatusType>
WAITING → const ScannerStatusType

Scanner is enabled and ready to scan*/

const ScannerStatusType(0)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited