QuickUsbAndroid class

Inheritance
  • Object
  • PlatformInterface
  • QuickUsbAndroid

Constructors

QuickUsbAndroid()

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

bulkTransferIn(UsbEndpoint endpoint, int maxLength, int timeout) Future<Uint8List>
bulkTransferOut(UsbEndpoint endpoint, Uint8List data, int timeout) 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>
getDeviceList() Future<List<UsbDevice>>
getDevicesWithDescription({bool requestPermission = true}) Future<List<UsbDeviceDescription>>
hasPermission(UsbDevice usbDevice) Future<bool>
init() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
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>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

registerWith() → dynamic