WebIDLpedia

USBInterface interface

Definition

WebUSB API defines USBInterface



[
  Exposed=(Worker,Window),
  SecureContext
]
interface USBInterface {
  constructor(USBConfiguration configuration, octet interfaceNumber);
  readonly attribute octet interfaceNumber;
  readonly attribute USBAlternateInterface alternate;
  readonly attribute FrozenArray<USBAlternateInterface> alternates;
  readonly attribute boolean claimed;
};

Methods and attributes that return objects implementing USBInterface

Referring IDL interfaces/dictionaries