UsbHandle class abstract

Implementers

Constructors

UsbHandle.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
Whether the underlying Arc is disposed.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

claimInterface({required int iface}) → void
声明接口 (通常是0)
dispose() → void
Dispose the underlying Arc.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readInterrupt({required int endpoint, required BigInt timeout}) Stream<String>
读取数据
releaseInterface({required int iface}) → void
释放接口
setActiveConfiguration({required int config}) → void
设置设备配置(通常1)
toString() String
A string representation of this object.
inherited
writeData({required int endpoint, required List<int> buf, required BigInt timeout}) BigInt
写数据

Operators

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