USBDevice.isochronousTransferOut()
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The isochronousTransferOut()
method of the
USBDevice
interface returns a promise
that resolves with a
USBIsochronousOutTransferResult
when time sensitive information has been
transmitted to the USB device.
Syntax
var promise = USBDevice.isochronousTransferOut(endpointNumber, data, packetLengths)
Parameters
- endpointNumber
-
The number of a device-specific endpoint (buffer).
- data
-
A
TypedArray
containing 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 # ref-for-dom-usbdevice-isochronoustransferout |
Browser compatibility
BCD tables only load in the browser