Platforms to show: All Mac Windows Linux Cross-Platform
CBManagerMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Bluetooth | MBS Bluetooth Plugin | 18.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 3 properties
- property authorization as Integer
- property Handle as Integer
- property State as Integer
- method Constructor Private
- shared method Available as boolean
- 10 constants
Authorization States
Constant | Value | Description |
---|---|---|
kAuthorizationStatusAuthorized | 3 |
This app is authorized to share data using Bluetooth services while in the background state. |
kAuthorizationStatusDenied | 2 |
The user explicitly denied this app from sharing data using Bluetooth services while in the background state. |
kAuthorizationStatusNotDetermined | 0 |
The user has not yet made a choice regarding whether this app can share data using Bluetooth services while in the background state. |
kAuthorizationStatusRestricted | 1 |
This app is not authorized to share data using Bluetooth services while in the background state. The user cannot change this app’s status, possibly due to active restrictions such as parental controls being in place. |
States
Constant | Value | Description |
---|---|---|
kStatePoweredOff | 4 |
Bluetooth is currently powered off. |
kStatePoweredOn | 5 |
Bluetooth is currently powered on and available to use. |
kStateResetting | 1 |
The connection with the system service was momentarily lost, update imminent. |
kStateUnauthorized | 3 |
The application is not authorized to use the Bluetooth Low Energy role. |
kStateUnknown | 0 |
State unknown, update imminent. |
kStateUnsupported | 2 |
The platform doesn't support the Bluetooth Low Energy Central/Client role. |
Sub classes:
Blog Entries
Release notes
- Version 19.4
- Added authorization property for CBManagerMBS class.
The items on this page are in the following plugins: MBS Bluetooth Plugin.
CBL2CAPChannelMBS - CBMutableCharacteristicMBS