summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/webusb/usb_isochronous_out_transfer_packet.idl
blob: f080b0e4bc23e0b833ab62322f42c81337b3c846 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://wicg.github.io/webusb/#usbisochronousouttransferpacket

[
    Constructor(USBTransferStatus status, optional unsigned long bytesWritten = 0),
    Exposed(DedicatedWorker WebUSBOnDedicatedWorkers, SharedWorker WebUSBOnSharedWorkers, Window WebUSB),
    SecureContext
] interface USBIsochronousOutTransferPacket {
    readonly attribute unsigned long bytesWritten;
    readonly attribute USBTransferStatus status;
};