Platforms to show: All Mac Windows Linux Cross-Platform
CBServiceMBS class
Super class: CBAttributeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Bluetooth | MBS Bluetooth Plugin | 18.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CBService and its subclass CBMutableService represent a peripheral’s service—a collection of data and associated behaviors for accomplishing a function or feature of a device (or portions of that device). CBService objects in particular represent services of a remote peripheral device (represented by a CBPeripheral object). Services are either primary or secondary and may contain a number of characteristics or included services (references to other services).
Subclass of the CBAttributeMBS class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 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
Sub classes:
Some methods using this class:
- CBMutableServiceMBS.setIncludedServices(includedServices() as CBServiceMBS)
- CBPeripheralMBS.discoverCharacteristics(characteristicUUIDs() as CBUUIDMBS = nil, service as CBServiceMBS)
- CBPeripheralMBS.discoverIncludedServices(includedServiceUUIDs() as CBUUIDMBS = nil, service as CBServiceMBS)
- CBPeripheralMBS.services as CBServiceMBS()
Some properties using for this class:
- CBCharacteristicMBS.service as CBServiceMBS
Some events using this class:
- CBPeripheralManagerMBS.DidAddService(service as CBServiceMBS, error as NSErrorMBS)
- CBPeripheralMBS.DidDiscoverCharacteristicsForService(service as CBServiceMBS, error as NSErrorMBS)
- CBPeripheralMBS.DidDiscoverIncludedServicesForService(service as CBServiceMBS, error as NSErrorMBS)
- CBPeripheralMBS.DidModifyServices(invalidatedServices() as CBServiceMBS)
Some examples using this class:
The items on this page are in the following plugins: MBS Bluetooth Plugin.
CBPeripheralMBS - CBUserIdentityMBS