USB WebAPI Wrappers
The USB APIs (api.usb) are wrappers for USB WebAPI and provide access to the USB.
bulkTransfer
Performs a bulk transfer on a specified device.
Method |
| ||||||
Parameters |
| ||||||
Returns |
| ||||||
Additional Information | This method is a wrapper for the USB WebAPI. https://developer.chrome.com/docs/extensions/reference/usb/#method-bulkTransfer |
claimInterface
Claims a USB device interface.
Method |
| ||||||
Parameters |
| ||||||
Returns |
| ||||||
Additional Information | This method is a wrapper for the USB WebAPI. https://developer.chrome.com/docs/extensions/reference/usb/#method-claimInterface |
closeDevice
Closes a connection handle.
Method |
| ||||
Parameters |
| ||||
Returns |
| ||||
Additional Information | This method is a wrapper for the USB WebAPI. https://developer.chrome.com/docs/extensions/reference/usb/#method-closeDevice |
controlTransfer
Performs a control transfer on a specified device.
Method |
| ||||||
Parameters |
| ||||||
Returns |
| ||||||
Additional Information | This method is a wrapper for the USB WebAPI. https://developer.chrome.com/docs/extensions/reference/usb/#method-controlTransfer |
getDevices
Lists connected USB devices.
Method |
| ||||||||||||
Parameters |
| ||||||||||||
Returns |
| ||||||||||||
Additional Information | This method is a wrapper for the USB WebAPI. https://developer.chrome.com/docs/extensions/reference/usb/#method-getDevices |
interruptTransfer
Performs an interrupt transfer on a specified device.
Method |
| ||||||
Parameters |
| ||||||
Returns |
| ||||||
Additional Information | This method is a wrapper for the USB WebAPI. https://developer.chrome.com/docs/extensions/reference/usb/#method-interruptTransfer |
listInterfaces
List all interfaces on a USB device.
Method |
| ||||
Parameters |
| ||||
Returns |
| ||||
Additional Information | This method is a wrapper for the USB WebAPI. https://developer.chrome.com/docs/extensions/reference/usb/#method-listInterfaces |
openDevice
Opens the returned USB device.
Method |
| ||||
Parameters |
| ||||
Returns |
| ||||
Additional Information | This method is a wrapper for the USB WebAPI. https://developer.chrome.com/docs/extensions/reference/usb/#method-openDevice |
releaseInterface
Releases a claimed interface.
Method |
| ||||||
Parameters |
| ||||||
Returns |
| ||||||
Additional Information | This method is a wrapper for the USB WebAPI. https://developer.chrome.com/docs/extensions/reference/usb/#method-releaseInterface |
requestAccess
Requests access to a device from the permission broker.
Method |
| ||||||
Parameters |
| ||||||
Returns |
| ||||||
Additional Information | This method is a wrapper for the USB WebAPI. https://developer.chrome.com/docs/extensions/reference/usb/#method-requestAccess |