api/usb library

Enums

UsbSpeed
USB device speeds. Indicates the speed at which a device is operating.

Functions

getUsbInfos() List<UsbInfo>
get all usb infos
listenUsbEventHandle({BigInt? sleep}) Stream<List<UsbInfo>>
监听USB事件,它在线程池中执行