ScannerPluginCommand enum

Inheritance

Constructors

ScannerPluginCommand(String value)
const

Values

resumePlugin → const ScannerPluginCommand

RESUME_PLUGIN: resumes the scanner when changing from the SUSPEND_PLUGIN suspended state. SCANNER_STATUS notification broadcasts WAITING and SCANNING states, rotating between each depending on whether scanning is taking place. In the WAITING state it is expecting an action from the user such as a trigger press. In the SCANNING state it is actively performing a scan resulting from an action such as a trigger press

const ScannerPluginCommand('RESUME_PLUGIN')
suspendPlugin → const ScannerPluginCommand

SUSPEND_PLUGIN: suspends the scanner so it is temporarily inactive when switching from the WAITING or SCANNING state. SCANNER_STATUS notification broadcasts IDLE state

const ScannerPluginCommand('SUSPEND_PLUGIN')
enablePlugin → const ScannerPluginCommand

ENABLE_PLUGIN: enables the plug-in; scanner becomes active. SCANNER_STATUS notification broadcasts WAITING and SCANNING states, rotating between each depending on whether scanning is taking place.

const ScannerPluginCommand('ENABLE_PLUGIN')
disablePlugin → const ScannerPluginCommand

DISABLE_PLUGIN: disables the plug-in; scanner becomes inactive. SCANNER_STATUS notification broadcasts DISABLED state.

const ScannerPluginCommand('DISABLE_PLUGIN')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
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

fromString(String value) ScannerPluginCommand

Constants

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