Platforms to show: All Mac Windows Linux Cross-Platform
Back to IOBluetoothDeviceInquiryMBS class.
IOBluetoothDeviceInquiryMBS.Complete(error as Integer, aborted as Boolean)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No |
error: Error code. kIOReturnSuccess if the inquiry completed without incident.
aborted: True if user called stop on the inquiry.
When the inquiry is completely stopped, this delegate method will be invoked. It will supply an error code value, kIOReturnSuccess if the inquiry stopped without problem, otherwise a non-kIOReturnSuccess error code will be supplied.
IOBluetoothDeviceInquiryMBS.DeviceFound(device as IOBluetoothDeviceMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No |
You do not need to retain the device - it will be held in the internal storage of the inquiry, and can be accessed later using foundDevices.
Some examples using this event:
IOBluetoothDeviceInquiryMBS.DeviceNameUpdated(device as IOBluetoothDeviceMBS, devicesRemaining as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Also indicates how many devices are left to be updated.
device: IOBluetoothDevice that was updated.
devicesRemaining: Number of devices remaining to update.
IOBluetoothDeviceInquiryMBS.Started
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Since the inquiry could be throttled, this message may not be received immediately after called -start.
IOBluetoothDeviceInquiryMBS.UpdatingDeviceNamesStarted(devicesRemaining as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No |
devicesRemaining: Number of devices remaining to update.
The items on this page are in the following plugins: MBS Bluetooth Plugin.