WebIDLpedia

USBEndpoint interface

Definition

WebUSB API defines USBEndpoint



[
  Exposed=(Worker,Window),
  SecureContext
]
interface USBEndpoint {
  constructor(USBAlternateInterface alternate, octet endpointNumber, USBDirection direction);
  readonly attribute octet endpointNumber;
  readonly attribute USBDirection direction;
  readonly attribute USBEndpointType type;
  readonly attribute unsigned long packetSize;
};

Methods and attributes that return objects implementing USBEndpoint

Referring IDL interfaces/dictionaries