USBIsochronousInTransferResult

Limited availability

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

安全なコンテキスト用: この機能は一部またはすべての対応しているブラウザーにおいて、安全なコンテキスト (HTTPS) でのみ利用できます。

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

WebUSB APIUSBIsochronousInTransferResult インターフェイスは、USBDevice インターフェイスの isochronousTransferIn() メソッドを呼び出した結果を提供します。これは、USB デバイスから USB ホストへのデータ転送の要求の結果を表します。

コンストラクター

USBIsochronousInTransferResult() Experimental

指定の packets および data フィールドを持つ新しい USBIsochronousInTransferResult オブジェクトを生成します。

インスタンスプロパティ

USBIsochronousInTransferResult.data 読取専用 Experimental

デバイスから受信したデータを格納した DataView オブジェクトを返します。これはすべてのパケットのデータを合わせたものです。個々のパケットで受信したこのバッファーの部分は、配列 packets 内の個別の DataView オブジェクトを参照してください。

USBIsochronousInTransferResult.packets 読取専用 Experimental

個々のデバイスからのパケットを受信する要求の結果が格納された USBIsochronousInTransferPacket オブジェクトの配列を返します。

仕様書

Specification
WebUSB API
# usbisochronousintransferresult

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
USBIsochronousInTransferResult
Experimental
USBIsochronousInTransferResult() constructor
Experimental
data
Experimental
packets
Experimental
Available in workers
Experimental

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
Partial support
Partial support
No support
No support
Experimental. Expect behavior to change in the future.
See implementation notes.
Has more compatibility info.