Platforms to show: All Mac Windows Linux Cross-Platform
MacUSBDeviceMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | USB | MBS USB Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Use the root method to get the device hierarchy.
For Windows you can take a look on the WindowsDeviceMBS and WinUSBDeviceMBS classes.
For cross platform development also check LibUSBDeviceMBS classes.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 22 properties
- property Address as Integer
- property BusPowerAvailable as Integer
- property ClassName as String
- property DeviceClass as Integer
- property DeviceMaxPacketSize as Integer
- property DeviceNumConfigs as Integer
- property DeviceProtocol as Integer
- property DeviceReleaseNumber as Integer
- property DeviceSpeed as Integer
- property DeviceSubClass as Integer
- property ExtraPowerForPorts as Integer
- property Name as String
- property NumEndpoints as Integer
- property Path as String
- property Ports as Integer
- property ProductID as Integer
- property ProductName as String
- property Properties as Dictionary
- property RequestedPower as Integer
- property SerialNumber as String
- property VendorID as Integer
- property VendorName as String
- 2 methods
- method children as MacUSBDeviceMBS()
- method Constructor Private
- shared method root as MacUSBDeviceMBS
- 38 constants
Constants
Constant | Value | Description |
---|---|---|
kUSBApplicationSpecificClass | 254 | One of the USB device class constants. |
kUSBATMNetworkingSubClass | 7 |
One of the USB device sub class constants.
For kUSBCommunicationDataInterfaceClass. |
kUSBAudioControlSubClass | 1 |
One of the USB device sub class constants.
For kUSBAudioInterfaceClass. |
kUSBAudioStreamingSubClass | 2 |
One of the USB device sub class constants.
For kUSBAudioInterfaceClass. |
kUSBCommAbstractSubClass | 2 |
One of the USB device sub class constants.
For kUSBCommunicationDataInterfaceClass. |
kUSBCommCAPISubClass | 5 |
One of the USB device sub class constants.
For kUSBCommunicationDataInterfaceClass. |
kUSBCommDirectLineSubClass | 1 |
One of the USB device sub class constants.
For kUSBCommunicationDataInterfaceClass. |
kUSBCommEthernetNetworkingSubClass | 6 |
One of the USB device sub class constants.
For kUSBCommunicationDataInterfaceClass. |
kUSBCommMultiChannelSubClass | 4 |
One of the USB device sub class constants.
For kUSBCommunicationDataInterfaceClass. |
kUSBCommonClassSubClass | 2 |
One of the USB device sub class constants.
For kUSBMiscellaneousClass. |
kUSBCommTelephoneSubClass | 3 |
One of the USB device sub class constants.
For kUSBCommunicationDataInterfaceClass. |
kUSBCommunicationClass | 2 | One of the USB device class constants. |
kUSBCompositeClass | 0 | One of the USB device class constants. |
kUSBCompositeSubClass | 0 | One of the USB device sub class constants. |
kUSBDataClass | 10 | One of the USB device class constants. |
kUSBDFUSubClass | 1 |
One of the USB device sub class constants.
For kUSBApplicationSpecificInterfaceClass. |
kUSBDiagnosticClass | 220 | One of the USB device class constants. |
kUSBHIDBootInterfaceSubClass | 1 |
One of the USB device sub class constants.
For kUSBHIDBootInterfaceSubClass. |
kUSBHubClass | 9 | One of the USB device class constants. |
kUSBHubSubClass | 0 | One of the USB device sub class constants. |
kUSBIrDABridgeSubClass | 2 |
One of the USB device sub class constants.
For kUSBApplicationSpecificInterfaceClass. |
kUSBMassStorageATAPISubClass | 2 |
One of the USB device sub class constants.
For kUSBMassStorageInterfaceClass. |
kUSBMassStorageQIC157SubClass | 3 |
One of the USB device sub class constants.
For kUSBMassStorageInterfaceClass. |
kUSBMassStorageRBCSubClass | 1 |
One of the USB device sub class constants.
For kUSBMassStorageInterfaceClass. |
kUSBMassStorageSCSISubClass | 6 |
One of the USB device sub class constants.
For kUSBMassStorageInterfaceClass. |
kUSBMassStorageSFF8070iSubClass | 5 |
One of the USB device sub class constants.
For kUSBMassStorageInterfaceClass. |
kUSBMassStorageUFISubClass | 4 |
One of the USB device sub class constants.
For kUSBMassStorageInterfaceClass. |
kUSBMIDIStreamingSubClass | 3 |
One of the USB device sub class constants.
For kUSBAudioInterfaceClass. |
kUSBMiscellaneousClass | 239 | One of the USB device class constants. |
kUSBPersonalHealthcareClass | 15 | One of the USB device class constants. |
kUSBReprogrammableDiagnosticSubClass | 1 |
One of the USB device sub class constants.
For kUSBDiagnosticDeviceInterfaceClass. |
kUSBRFControllerSubClass | 1 |
One of the USB device sub class constants.
For kUSBWirelessControllerInterfaceClass. |
kUSBTestMeasurementSubClass | 3 |
One of the USB device sub class constants.
For kUSBApplicationSpecificInterfaceClass. |
kUSBVendorSpecificClass | 255 | One of the USB device class constants. |
kUSBVideoControlSubClass | 1 | One of the USB device sub class constants. |
kUSBVideoInterfaceCollectionSubClass | 3 | One of the USB device sub class constants. |
kUSBVideoStreamingSubClass | 2 | One of the USB device sub class constants. |
kUSBWirelessControllerClass | 224 | One of the USB device class constants. |
This class has no sub classes.
Some examples using this class:
Blog Entries
- Showing USB Devices
- MBS Real Studio Plugins, version 11.2pr7
- New MBS REALbasic Plugin Version 10.4
- MBS REALbasic Plugins Version 10.4 release notes
- MBS REALbasic Plugins, version 10.4pr5
- MacUSBDeviceMBS
The items on this page are in the following plugins: MBS USB Plugin.
MacQuarantinePropertiesMBS - MacUSBMBS