ProtectedauthorisedProtectedemitterProtectedknownGets all allowed Web USB devices which are connected
Promise containing an array of devices
Requests a single Web USB device
Optionaloptions: USBDeviceRequestOptionsThe options to use when scanning
Promise containing the selected device
The
dispatchEvent()method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.MDN Reference