summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/webusb/usb_isochronous_out_transfer_packet.idl
blob: 7473dd031c98f1f516fb454df33813e1200594d1 (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, Window WebUSB),
    SecureContext
] interface USBIsochronousOutTransferPacket {
    readonly attribute unsigned long bytesWritten;
    readonly attribute USBTransferStatus status;
};