Platforms to show: All Mac Windows Linux Cross-Platform
CBMutableServiceMBS class
Super class: CBServiceMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Bluetooth | MBS Bluetooth Plugin | 18.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
You use this class to create a service or an included service on a local peripheral device (represented by a CBPeripheralManager object). After you create a service, you can add it to the peripheral’s local database using the addService method of the CBPeripheralManager class. After you add a service to the peripheral’s local database, the service is cached and you can no longer make changes to it.
Subclass of the CBServiceMBS class.
- 3 methods
- method Constructor(UUID as CBUUIDMBS, isPrimary as Boolean)
- method setCharacteristics(characteristics() as CBCharacteristicMBS)
- method setIncludedServices(includedServices() as CBServiceMBS)
Super class CBServiceMBS
- 2 properties
- property isPrimary as Boolean
- property peripheral as CBPeripheralMBS
- 3 methods
- method characteristics as CBCharacteristicMBS()
- method Constructor Private
- method includedServices as CBServiceMBS()
- shared method Available as boolean
Super class CBAttributeMBS
- 2 properties
- method Constructor Private
- shared method Available as boolean
This class has no sub classes.
Some methods using this class:
- CBPeripheralManagerMBS.addService(service as CBMutableServiceMBS)
- CBPeripheralManagerMBS.removeService(service as CBMutableServiceMBS)
The items on this page are in the following plugins: MBS Bluetooth Plugin.
CBMutableDescriptorMBS - CBPeerMBS