Platforms to show: All Mac Windows Linux Cross-Platform

Back to CBServiceMBS class.

CBServiceMBS.isPrimary as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.1 ✅ Yes ❌ No ❌ No ✅ Yes All
A Boolean value indicating whether the type of service is primary or secondary.

A peripheral’s service is either primary or secondary. A primary service describes the primary function of a device and can be included by another service. A secondary service describes a service that is relevant only in the context of another service that has referenced it. For example, the primary service of a heart rate monitor may be to expose heart rate data from the monitor’s heart rate sensor, whereas a secondary service may be to expose the sensor’s battery data. If the value of this property is true, the type of service is primary. If the value of this property is false, the type of service is secondary.
(Read only property)

CBServiceMBS.peripheral as CBPeripheralMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The peripheral to which this service belongs.

(Read only property)

Some examples using this property:

The items on this page are in the following plugins: MBS Bluetooth Plugin.


The biggest plugin in space...