WebUsbJS class

Annotations
  • @JS("WebUsbJS")

Constructors

WebUsbJS()
factory

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

claimInterface(dynamic device, int interfaceNumber) Promise
clearHalt(dynamic device, String direction, int endpointNumber) Promise
close(dynamic device) Promise
controlTransferIn(dynamic device, SetupParamJS setup, int? length) Promise
Data transfer
controlTransferOut(dynamic device, SetupParamJS setup, dynamic data) Promise
getPairedDevices() Promise
isochronousTransferIn(dynamic device, int endpointNumber, List<int> packetLengths) Promise
isochronousTransferOut(dynamic device, int endpointNumber, dynamic data) Promise
isSupported() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(dynamic device) Promise
Session setup
releaseInterface(dynamic device, int interfaceNumber) Promise
requestDevice(List<DeviceFilterJS> filters) Promise
reset(dynamic device) Promise
selectConfiguration(dynamic device, int configurationValue) Promise
setOnConnectCallback(dynamic callback(dynamic)) → dynamic
setOnDisconnectCallback(dynamic callback(dynamic)) → dynamic
toString() String
A string representation of this object.
inherited
transferIn(dynamic device, int endpointNumber, int length) Promise
transferOut(dynamic device, int endpointNumber, dynamic data) Promise

Operators

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