Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

CBManagerMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Bluetooth MBS Bluetooth Plugin 18.1 Yes No No Yes, macOS only No
Function: The abstract base class for Core Bluetooth manager objects (central and peripheral).
Notes: This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

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


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


CBL2CAPChannelMBS   -   CBMutableCharacteristicMBS

The biggest plugin in space...




Links
MBS Xojo blog