USBIsochronousOutTransferPacket
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.
TheUSBIsochronousOutTransferPacket interface of theWebUSB API is part of the response from a call to theisochronousTransferOut() method of theUSBDevice interface. It represents the status of an individual packet from a request to transfer data from the USB host to the USB device over an isochronous endpoint.
In this article
Constructor
USBIsochronousOutTransferPacket()ExperimentalCreates a new
USBIsochronousOutTransferPacketobject with the providedstatusandbytesWrittenfields.
Instance properties
USBIsochronousOutTransferPacket.bytesWrittenRead onlyExperimentalReturns the number of bytes from the packet that were sent to the device.
USBIsochronousOutTransferPacket.statusRead onlyExperimentalReturns the status of the transfer request, one of:
"ok"- The transfer was successful."stall"- The device indicated an error by generating a stall condition on the endpoint. A stall on an isochronous endpoint does not need to be cleared.
Specifications
| Specification |
|---|
| WebUSB API> # usbisochronousouttransferpacket> |