Protected
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
MDN Reference
Gets all allowed Web USB devices which are connected
Promise containing an array of devices
Requests a single Web USB device
Optional
The options to use when scanning
Promise containing the selected device
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
MDN Reference