OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // http://wicg.github.io/webusb/#interfaces |
| 6 |
| 7 [ |
| 8 Constructor(USBInterface deviceInterface, octet alternateSetting), |
| 9 RaisesException=Constructor, |
| 10 GarbageCollected, |
| 11 RuntimeEnabled=WebUSB, |
| 12 ] interface USBAlternateInterface { |
| 13 readonly attribute octet alternateSetting; |
| 14 readonly attribute octet interfaceClass; |
| 15 readonly attribute octet interfaceSubclass; |
| 16 readonly attribute octet interfaceProtocol; |
| 17 readonly attribute DOMString? interfaceName; |
| 18 readonly attribute sequence<USBEndpoint> endpoints; |
| 19 }; |
OLD | NEW |