WebIDLpedia

USBDeviceFilter dictionary

Definition

WebUSB API defines USBDeviceFilter

dictionary USBDeviceFilter {
  unsigned short vendorId;
  unsigned short productId;
  octet classCode;
  octet subclassCode;
  octet protocolCode;
  DOMString serialNumber;
};

Referring IDL interfaces/dictionaries