WebIDLpedia

USBAlternateInterface interface

Definition

WebUSB API defines USBAlternateInterface



[
  Exposed=(Worker,Window),
  SecureContext
]
interface USBAlternateInterface {
  constructor(USBInterface deviceInterface, octet alternateSetting);
  readonly attribute octet alternateSetting;
  readonly attribute octet interfaceClass;
  readonly attribute octet interfaceSubclass;
  readonly attribute octet interfaceProtocol;
  readonly attribute DOMString? interfaceName;
  readonly attribute FrozenArray<USBEndpoint> endpoints;
};

Methods and attributes that return objects implementing USBAlternateInterface

Referring IDL interfaces/dictionaries