USBDevice: isochronousTransferOut() メソッド

Limited availability

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

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

USBDevice インターフェイスの isochronousTransferOut() メソッドは、時間が重要な情報の USB デバイスからの転送が完了したら USBIsochronousOutTransferResult で解決する Promise を返します。

構文

js
isochronousTransferOut(endpointNumber, data, packetLengths)

引数

endpointNumber

デバイス固有のエンドポイント (バッファー) の番号です。

data

デバイスに送信するデータが格納された TypedArray です。

packetLengths

送信するパケットの長さの配列です。

返値

USBIsochronousOutTransferResult で解決する Promise です。

仕様書

Specification
WebUSB API
# ref-for-dom-usbdevice-isochronoustransferout

ブラウザーの互換性

BCD tables only load in the browser