PosUsbOTGConnector class

The Android POS system must support USB host mode (USB OTG), and the USB cable/adapter must also support USB OTG.

key This will be provided by ABA Bank for using with production POS terminal.

Inheritance

Constructors

PosUsbOTGConnector(String key, {PosSdkLogger? logger})

Properties

hashCode int
The hash code for this object.
no setterinherited
isCheckSumEnabled bool
getter/setter pairinherited
key String
getter/setter pairinherited
logger PosSdkLogger?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancelWaitingPosTerminal() → void
override
createSignedMessage(String jsonData) String
inherited
initialize(PosUsbConnectionCallback callback) PosUsbOTGConnector
Must be called before you can use any function from this class. _callback This will be invoked everytime sendTransaction is called.
isValidSignature(String hash, String jsonData) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release() → void
override
sendTransaction(String data, int timeout) → void
timeout Milliseconds to wait.
override
toString() String
A string representation of this object.
inherited

Operators

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