Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. USBOutTransferResult

USBOutTransferResult

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.

TheUSBOutTransferResult interface of theWebUSB API provides the result from a call to thetransferOut() andcontrolTransferOut() methods of theUSBDevice interface. It represents the result from requesting a transfer of data from the USB host to the USB device.

Constructor

USBOutTransferResult()Experimental

Creates a newUSBOutTransferResult object with the providedstatus andbytesWritten fields.

Instance properties

USBOutTransferResult.bytesWrittenRead onlyExperimental

Returns the number of bytes from the transfer request that were sent to the device.

USBOutTransferResult.statusRead onlyExperimental

Returns the status of the transfer request, one of:

Specifications

Specification
WebUSB API
# usbouttransferresult

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp