Back to Content

USBDevice: deviceProtocol property

files/en-us/web/api/usbdevice/deviceprotocol/index.md

latest481 B
Original Source

{{APIRef("WebUSB API")}}{{SeeCompatTable}}{{SecureContext_Header}}{{AvailableInWorkers}}

The deviceProtocol read only property of the {{domxref("USBDevice")}} interface one of three properties that identify USB devices for the purpose of loading a USB driver that will work with that device. The other two properties are USBDevice.deviceClass and USBDevice.deviceSubclass.

Value

A number.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}