Nf5503ScanOutputMode enum

扫码结果输出方式,对应原生 ScanConfig.SCAN_OUTPUTMODE_* 常量。

Inheritance
Available extensions

Values

broadcast → const Nf5503ScanOutputMode

通过 Android 广播输出扫码结果。

const Nf5503ScanOutputMode(0)
inputBox → const Nf5503ScanOutputMode

将扫码结果输入到当前输入框。

const Nf5503ScanOutputMode(1)
keyboard → const Nf5503ScanOutputMode

以键盘模拟方式输出扫码结果。

const Nf5503ScanOutputMode(2)
singleInputBox → const Nf5503ScanOutputMode

仅输入一次到当前输入框。

const Nf5503ScanOutputMode(3)
clipboard → const Nf5503ScanOutputMode

将扫码结果写入剪贴板。

const Nf5503ScanOutputMode(4)

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 → int
原生 SDK 使用的整数值。
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(int value) → Nf5503ScanOutputMode
根据原生 SDK 返回值转换为 Flutter 枚举,未知值默认按广播模式处理。

Constants

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