USBDevice: isochronousTransferOut() method
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 from the USB device.
Syntax
js
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