Platforms to show: All Mac Windows Linux Cross-Platform
Back to MacUSBNotificationMBS class.
MacUSBNotificationMBS.GetUSBDeviceInfo(DeviceHandle as Integer, byref Vendor as string, byref Product as string, byref SerialNumber as string, byref Revision as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | USB | MBS USB Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
This is a convenience function to query details on the devices found within the events.
Returns true on success.
MacUSBNotificationMBS.QueryBSDName(DeviceHandle as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | USB | MBS USB Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
If the device is a disk or USB stick and has been mounted, this would give the bsd name of the disk.
Returns "" on any error.
MacUSBNotificationMBS.Release(DeviceHandle as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | USB | MBS USB Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Please call Retain and Release in pairs.
Does nothing if handle is zero or when called on Linux/Windows.
MacUSBNotificationMBS.Retain(DeviceHandle as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | USB | MBS USB Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Please call Retain and Release in pairs.
Does nothing if handle is zero or when called on Linux/Windows.
The items on this page are in the following plugins: MBS USB Plugin.