USBDevice

external interface USBDevice(source)

Properties

Link copied to clipboard
abstract external var configuration: Configuration?

A USBConfiguration object containing information about the currently selected configuration of a USB device.

Link copied to clipboard

An array of USBConfiguration interfaces for controlling a paired USB device.

Link copied to clipboard
abstract external var deviceClass: Double

The device class for the communication interface supported by the device.

Link copied to clipboard
abstract external var deviceId: String

Unique identifier for the device.

Link copied to clipboard
abstract external var deviceProtocol: Double

The device protocol for the communication interface supported by the device.

Link copied to clipboard
abstract external var deviceSubclass: Double

The device subclass for the communication interface supported by the device.

Link copied to clipboard
abstract external var deviceVersionMajor: Double

The major version number of the device as defined by the device manufacturer.

Link copied to clipboard
abstract external var deviceVersionMinor: Double

The minor version number of the device as defined by the device manufacturer.

Link copied to clipboard
abstract external var deviceVersionSubminor: Double

The subminor version number of the device as defined by the device manufacturer.

Link copied to clipboard
abstract external var manufacturerName: String?

The manufacturer name of the device.

Link copied to clipboard
abstract external var productId: Double

The USB product ID.

Link copied to clipboard
abstract external var productName: String?

Name of the device.

Link copied to clipboard
abstract external var serialNumber: String?

The USB device serial number.

Link copied to clipboard
abstract external var usbVersionMajor: Double

The USB protocol major version supported by the device.

Link copied to clipboard
abstract external var usbVersionMinor: Double

The USB protocol minor version supported by the device.

Link copied to clipboard
abstract external var usbVersionSubminor: Double

The USB protocol subminor version supported by the device.

Link copied to clipboard
abstract external var vendorId: Double

The USB vendor ID.