pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://developer.mozilla.org/ja/docs/Web/API/USBDevice/controlTransferIn

sizes="32x32" href="https://developer.mozilla.org/favicon.ico" />

このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。

View in English Always switch to English

USBDevice: controlTransferIn() メソッド

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Experimental: これは実験的な機能です。
本番で使用する前にブラウザー互換性一覧表をチェックしてください。

USBDevice インターフェイスの controlTransferIn() メソッドは、コマンドまたは状態の操作の要求の USB デバイスへの送信 (USB デバイスでの受信) が完了したら USBInTransferResult で解決する Promise を返します。

構文

js
controlTransferIn(setup, length)

引数

setup

オプションを設定するオブジェクトです。以下のオプションが使用可能です。

requestType

転送の性質を示します。"standard" (すべての USB デバイスに共通)、"class" (業界標準のクラスまたはデバイスに共通)、"vendor" のいずれかの値でなければなりません。

recipient

デバイス上の転送の対象を指定します。"device""interface""endpoint""other" のいずれかです。

request

ベンダー固有のコマンドです。

value

ベンダー固有のリクエストパラメーターです。

index

宛先のインターフェイス番号です。

length

デバイスから読み取る最大のバイト数です。実際のデータは、解決したプロミス内の USBInTransferResult に格納されます。

返値

USBInTransferResult で解決する promise です。

仕様書

Specification
WebUSB API
# dom-usbdevice-controltransferin

ブラウザーの互換性

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy