Platforms to show: All Mac Windows Linux Cross-Platform
CBPeerMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Bluetooth | MBS Bluetooth Plugin | 18.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
You typically do not create instances of either CBPeer or its concrete subclasses. Instead, the system creates them for you during the process of peer discovery.
Your app running on the local device takes the role of either a central (by creating an instance of CBCentralManager) or a peripheral (by creating an instance of CBPeripheralManager), and interacts through the manager with remote devices in the opposite role. During the process of peer discovery, where a central device scans for peripherals advertising services, the system creates objects from the concrete subclasses of CBPeer to represent discovered remote devices.
The concrete subclasses of CBPeer are:
- 2 properties
- property Handle as Integer
- property identifier as String
- 2 methods
- method Constructor Private
- method copy as CBPeerMBS
- shared method Available as boolean
Sub classes:
Some properties using for this class:
- CBL2CAPChannelMBS.peer as CBPeerMBS
The items on this page are in the following plugins: MBS Bluetooth Plugin.
CBMutableServiceMBS - CBPeripheralManagerMBS