ReaderTransport enum

Physical transport used to talk to the reader.

More granular than the legacy ReaderConnectionType on ReaderDevice. New code should consult ReaderDevice.transport when one is reported; fall back to connectionType for older payloads.

Inheritance
Available extensions

Values

bluetoothLe → const ReaderTransport
const ReaderTransport('bluetooth_le')
bluetoothClassic → const ReaderTransport
const ReaderTransport('bluetooth_classic')
usb → const ReaderTransport
const ReaderTransport('usb')
lightning → const ReaderTransport
const ReaderTransport('lightning')
audioJack → const ReaderTransport
const ReaderTransport('audio_jack')
network → const ReaderTransport

IP-network-attached reader (e.g. some payment terminals reachable over Wi-Fi / Ethernet via a vendor cloud or local broker).

const ReaderTransport('network')
unknown → const ReaderTransport
const ReaderTransport('unknown')

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
wire → String
Stable wire identifier used on 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

fromWire(String? value) → ReaderTransport

Constants

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