USBIsochronousInTransferResult
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.
Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.
Note: This feature is available inWeb Workers.
TheUSBIsochronousInTransferResult interface of theWebUSB API provides the result from a call to theisochronousTransferIn() method of theUSBDevice interface. It represents the result from requesting a transfer of data from the USB device to the USB host.
In this article
Constructor
USBIsochronousInTransferResult()ExperimentalCreates a new
USBIsochronousInTransferResultobject with the providedpacketsanddatafields.
Instance properties
USBIsochronousInTransferResult.dataRead onlyExperimentalReturns a
DataViewobject containing the data received from the device. This is the combined data from all packets. See the individualDataViewobjects in thepacketsarray for the portion of this buffer containing data from each packet.USBIsochronousInTransferResult.packetsRead onlyExperimentalReturns an array of
USBIsochronousInTransferPacketobjects containing the result of each request to receive a packet from the device.
Specifications
| Specification |
|---|
| WebUSB API> # usbisochronousintransferresult> |