menu
chrome_extension package
documentation
usb.dart
ConnectionHandle class
ConnectionHandle class
dark_mode
light_mode
ConnectionHandle
class
Constructors
ConnectionHandle
({
required
int
handle
,
required
int
vendorId
,
required
int
productId
})
ConnectionHandle.fromJS
(
ConnectionHandle
_wrapped
)
Properties
handle
↔
int
An opaque handle representing this connection to the USB device and all associated claimed interfaces and pending transfers. A new handle is created each time the device is opened. The connection handle is different from
Device.device
.
getter/setter pair
hashCode
→
int
The hash code for this object.
no setter
inherited
productId
↔
int
The product ID.
getter/setter pair
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
toJS
→ ConnectionHandle
no setter
vendorId
↔
int
The device vendor ID.
getter/setter pair
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
chrome_extension package
documentation
usb
ConnectionHandle class
usb library