ControlTransferInfo class

Constructors

ControlTransferInfo({required Direction direction, required Recipient recipient, required RequestType requestType, required int request, required int value, required int index, int? length, ByteBuffer? data, int? timeout})
ControlTransferInfo.fromJS(ControlTransferInfo _wrapped)

Properties

data ↔ ByteBuffer?
The data to transmit (required only by output transfers).
getter/setter pair
direction ↔ Direction
The transfer direction ("in" or "out").
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
index ↔ int
The wIndex field, see Ibid.
getter/setter pair
length ↔ int?
The maximum number of bytes to receive (required only by input transfers).
getter/setter pair
recipient ↔ Recipient
The transfer target. The target given by index must be claimed if "interface" or "endpoint".
getter/setter pair
request ↔ int
The bRequest field, see Universal Serial Bus Specification Revision 1.1 § 9.3.
getter/setter pair
requestType ↔ RequestType
The request type.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeout ↔ int?
Request timeout (in milliseconds). The default value 0 indicates no timeout.
getter/setter pair
toJS → ControlTransferInfo
no setter
value ↔ int
The wValue field, see Ibid.
getter/setter pair

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