libusb_transfer_flags class abstract

\ingroup libusb_asyncio libusb_transfer.flags values

Constructors

libusb_transfer_flags()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

LIBUSB_TRANSFER_ADD_ZERO_PACKET → const int
Terminate transfers that are a multiple of the endpoint's wMaxPacketSize with an extra zero length packet. This is useful when a device protocol mandates that each logical request is terminated by an incomplete packet (i.e. the logical requests are not separated by other means).
LIBUSB_TRANSFER_FREE_BUFFER → const int
Automatically free() transfer buffer during libusb_free_transfer(). Note that buffers allocated with libusb_dev_mem_alloc() should not be attempted freed in this way, since free() is not an appropriate way to release such memory.
LIBUSB_TRANSFER_FREE_TRANSFER → const int
Automatically call libusb_free_transfer() after callback returns. If this flag is set, it is illegal to call libusb_free_transfer() from your transfer callback, as this will result in a double-free when this flag is acted upon.
LIBUSB_TRANSFER_SHORT_NOT_OK → const int
Report short frames as errors