USBDevice: isochronousTransferOut() method
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check 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.
Note: This feature is available in Web Workers.
The isochronousTransferOut() method of the
USBDevice interface returns a Promise that resolves with a USBIsochronousOutTransferResult when time sensitive information has been transmitted from the USB device.
Syntax
isochronousTransferOut(endpointNumber, data, packetLengths)
Parameters
endpointNumber-
The number of a device-specific endpoint (buffer).
data-
A
TypedArraycontaining the data to send to the device. packetLengths-
An array of lengths for the packets being transferred.
Return value
A Promise that resolves with a USBIsochronousOutTransferResult.
Specifications
| Specification |
|---|
| WebUSB API> # dom-usbdevice-isochronoustransferout> |
Browser compatibility
Loading…