-
Notifications
You must be signed in to change notification settings - Fork 22.4k
/
index.md
41 lines (29 loc) · 1.09 KB
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
title: "USBDevice: isochronousTransferOut() method"
short-title: isochronousTransferOut()
slug: Web/API/USBDevice/isochronousTransferOut
page-type: web-api-instance-method
status:
- experimental
browser-compat: api.USBDevice.isochronousTransferOut
---
{{APIRef("WebUSB API")}}{{SeeCompatTable}}{{SecureContext_Header}}
The **`isochronousTransferOut()`** method of the
{{domxref("USBDevice")}} interface returns a {{jsxref("Promise")}} that resolves with a {{domxref("USBIsochronousOutTransferResult")}} when time sensitive information has been transmitted from the USB device.
## Syntax
```js-nolint
isochronousTransferOut(endpointNumber, data, packetLengths)
```
### Parameters
- `endpointNumber`
- : The number of a device-specific endpoint (buffer).
- `data`
- : A {{jsxref("TypedArray")}} containing the data to send to the device.
- `packetLengths`
- : An array of lengths for the packets being transferred.
### Return value
A {{jsxref("Promise")}} that resolves with a {{domxref("USBIsochronousOutTransferResult")}}.
## Specifications
{{Specifications}}
## Browser compatibility
{{Compat}}