Platforms to show: All Mac Windows Linux Cross-Platform
Back to IOBluetoothSDPUUIDMBS class.
IOBluetoothSDPUUIDMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
IOBluetoothSDPUUIDMBS.isEqualToUUID(other as IOBluetoothSDPUUIDMBS) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
other: The UUID object to be compared with the target.
Returns true if the UUID values of each object are equal. This includes the case where the sizes are different but the data itself is the same when the Bluetooth UUID base is applied.
This method will compare the two UUID values independent of their length.
IOBluetoothSDPUUIDMBS.UUIDWithLength(length as Integer) as IOBluetoothSDPUUIDMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns an IOBluetoothSDPUUID object with the same data as the target but with the given length if it is possible to do so. Otherwise, nil is returned.
If the target object is the same length as newLength, it returns itself. If newLength is greater it creates a new IOBluetoothSDPUUID object with the correct value for the given length. If newLength is smaller, it will attempt to create a new IOBluetoothSDPUUID that is smaller if the data matches the Bluetooth UUID base. This downconversion is currently unimplemented.
The items on this page are in the following plugins: MBS Bluetooth Plugin.