bindings/webusb library

Classes

AllowedUSBDevice
Usb
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the WebUSB API provides attributes and methods for finding and connecting USB devices from a web page. Use navigator.usb to get access to the object. The USB interface inherits from EventTarget.
USBAlternateInterface
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the WebUSB API provides information about a particular configuration of an interface provided by the USB device. An interface includes one or more alternate settings which can configure a set of endpoints based on the operating mode of the device.
USBConfiguration
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the WebUSB API provides information about a particular configuration of a USB device and the interfaces that it supports.
USBConnectionEvent
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the WebUSB API is the event type passed to USB.onconnect and USB.ondisconnect when the user agent detects that a new USB device has been connected or disconnected.
USBConnectionEventInit
USBControlTransferParameters
USBDevice
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the WebUSB API provides access to metadata about a paired USB device and methods for controlling it.
USBDeviceFilter
USBDeviceRequestOptions
USBEndpoint
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the WebUSB API provides information about an endpoint provided by the USB device. An endpoint represents a unidirectional data stream into or out of a device.
USBInterface
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the WebUSB API provides information about an interface provided by the USB device. An interface represents a feature of the device which implements a particular protocol and may contain endpoints for bidirectional communication.
USBInTransferResult
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the WebUSB API provides the result from a call to the transferIn() and controlTransferIn() methods of the USBDevice interface. It represents the result from requesting a transfer of data from the USB device to the USB host.
USBIsochronousInTransferPacket
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the WebUSB API is part of the response from a call to the isochronousTransferIn() method of the USBDevice interface. It represents the status of an individual packet from a request to transfer data from the USB device to the USB host over an isochronous endpoint.
USBIsochronousInTransferResult
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the WebUSB API provides the result from a call to the isochronousTransferIn() method of the USBDevice interface. It represents the result from requesting a transfer of data from the USB device to the USB host.
USBIsochronousOutTransferPacket
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the WebUSB API is part of the response from a call to the isochronousTransferOut() method of the USBDevice interface. It represents the status of an individual packet from a request to transfer data from the USB host to the USB device over an isochronous endpoint.
USBIsochronousOutTransferResult
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the WebUSB API provides the result from a call to the isochronousTransferOut() method of the USBDevice interface. It represents the result from requesting a transfer of data from the USB host to the USB device.
USBOutTransferResult
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the WebUSB API provides the result from a call to the transferOut() and controlTransferOut() methods of the USBDevice interface. It represents the result from requesting a transfer of data from the USB host to the USB device.
USBPermissionDescriptor
USBPermissionResult
USBPermissionStorage