libusb_transfer_status enum
\ingroup libusb_asyncio Transfer status codes
Values
- LIBUSB_TRANSFER_COMPLETED → const libusb_transfer_status
-
Transfer completed without error. Note that this does not indicate that the entire amount of requested data was transferred.
const libusb_transfer_status(0)
- LIBUSB_TRANSFER_ERROR → const libusb_transfer_status
-
Transfer failed
const libusb_transfer_status(1)
- LIBUSB_TRANSFER_TIMED_OUT → const libusb_transfer_status
-
Transfer timed out
const libusb_transfer_status(2)
- LIBUSB_TRANSFER_CANCELLED → const libusb_transfer_status
-
Transfer was cancelled
const libusb_transfer_status(3)
- LIBUSB_TRANSFER_STALL → const libusb_transfer_status
-
For bulk/interrupt endpoints: halt condition detected (endpoint stalled). For control endpoints: control request not supported.
const libusb_transfer_status(4)
- LIBUSB_TRANSFER_NO_DEVICE → const libusb_transfer_status
-
Device was disconnected
const libusb_transfer_status(5)
- LIBUSB_TRANSFER_OVERFLOW → const libusb_transfer_status
-
Device sent more data than requested
const libusb_transfer_status(6)
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
-
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) → libusb_transfer_status
Constants
-
values
→ const List<
libusb_transfer_status> - A constant List of the values in this enum, in order of their declaration.