Search completed in 1.17 seconds.
3 results for "usbtransferinresult":
USBDevice - Web APIs
and USBDevice.usbVersionMinor. USBDevice.vendorId Read only The official usg.org-assigned vendor ID. Methods USBDevice.claimInterface() Returns a Promise that resolves when the requested interface is claimed for exclusive access. USBDevice.clearHalt() Returns a Promise that resolves when a halt condition is cleared. USBDevice.controlTransferIn() Returns a Promise that resolves with a
USBTransferInResult when a command or status operation has been transmitted to the USB device. USBDevice.controlTransferOut() Returns a Promise that resolves with a USBTransferOutResult when a command or status operation has been transmitted from the USB device. USBDevice.close() Returns a Promise that resolves when all open interfaces are released and the device session has ended. USBDevice.isochronousTransfer...
...that resolves when the device is reset and all app operations canceled and their promises rejected. USBDevice.selectAlternateInterface() Returns a Promise that resolves when the specified alternative endpoint is selected. USBDevice.selectConfiguration() Returns a Promise that resolves when the specified configuration is selected. USBDevice.transferIn() Returns a Promise that resolves with a
USBTransferInResult when bulk or interrupt data is received from the USB device. USBDevice.transferOut() Returns a Promise that resolves with a USBTransferOutResult when bulk or interrupt data is sent to the USB device. Specifications Specification Status Comment WebUSBThe definition of 'USBDevice' in that specification. Draft Initial definition. ...
Index - Web APIs
USB, USBDevice, WebUSB, WebUSB API, serialNumber The serialNumber read only property of the USBDevice interface is the manufacturer-defined serial number for the specific USB device. 4425 USBDevice.transferIn() API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, transferIn The transferIn() method of the USBDevice interface returns a promise that resolves with a
USBTransferInResult when bulk or interrupt data is transmitted to the USB device. 4426 USBDevice.transferOut() API, Method, Reference, USB, USBDevice, WebUSB, WebUSB API, transferOut The transferOut() method of the USBDevice interface returns a promise that resolves with a USBTransferOutResult when bulk or interrupt data is transmitted from the USB device. 4427 USBDevice.usbVersionMaj...
USBDevice.transferIn() - Web APIs
The transferIn() method of the USBDevice interface returns a promise that resolves with a
USBTransferInResult when bulk or interrupt data is received from the USB device. Syntax var promise = USBDevice.transferIn(endpointNumber, length) Parameters endpointNumber The number of a device-specific endpoint (buffer). length The maximum number of bytes that will be read back from the device. The actual data is in the USBInTransferResult in the resolved Promise. Return value A promise that resolves with a
USBTransferInResult. Specifications Specification Status Comment WebUSBThe definition of 'transferIn()' in that specification. Draft Initial definition. ...