QuickUsb class
Constructors
- QuickUsb()
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
Static Methods
-
bulkTransferIn(
UsbEndpoint endpoint, int maxLength, {int timeout = 1000}) → Future< Uint8List> -
bulkTransferOut(
UsbEndpoint endpoint, Uint8List data, {int timeout = 1000}) → Future< int> -
claimInterface(
UsbInterface intf) → Future< bool> -
closeDevice(
) → Future< void> -
detachKernelDriver(
UsbInterface intf) → Future< bool> -
exit(
) → Future< void> -
getConfiguration(
int index) → Future< UsbConfiguration> -
getDeviceDescription(
UsbDevice usbDevice, {bool requestPermission = true}) → Future< UsbDeviceDescription> -
requestPermission
If true, Android will ask permission for the USB device if required. Only required to retrieve the serial number. -
getDeviceList(
) → Future< List< UsbDevice> > -
getDevicesWithDescription(
{bool requestPermission = true}) → Future< List< UsbDeviceDescription> > -
requestPermission
If true, Android will ask permission for each USB device if required. Only required to retrieve the serial number. -
hasPermission(
UsbDevice usbDevice) → Future< bool> -
init(
) → Future< bool> -
openDevice(
UsbDevice usbDevice) → Future< bool> -
releaseInterface(
UsbInterface intf) → Future< bool> -
requestPermission(
UsbDevice usbDevice) → Future< bool> -
setAutoDetachKernelDriver(
bool enable) → Future< void> -
setConfiguration(
UsbConfiguration config) → Future< bool>