UsbDevice

interface UsbDevice

Represents a USB device. This interface provides details about the USB device, including its name, vendor, product information, serial number, and connected devices.

Author

N7ghtm4r3

Inheritors

UsbDeviceImpl

Properties

Link copied to clipboard

connectedDevices A list of other USB devices that are connected to this device (if any).

Link copied to clipboard
abstract val name: String

name The name of the USB device (e.g., "USB 3.0 Hub").

Link copied to clipboard
abstract val productId: String

productId The product ID of the USB device, typically a 4-character hexadecimal value.

Link copied to clipboard
abstract val serialNumber: String

serialNumber The serial number of the USB device.

Link copied to clipboard
abstract val uniqueDeviceId: String

uniqueDeviceId A unique identifier for the USB device.

Link copied to clipboard
abstract val vendor: String

vendor The vendor of the USB device (e.g., "Generic", "Logitech").

Link copied to clipboard
abstract val vendorId: String

vendorId The vendor ID of the USB device, typically a 4-character hexadecimal value.