Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

CBPeripheralManagerMBS.authorizationStatus as integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Bluetooth MBS Bluetooth Plugin 18.1 Yes No No Yes, macOS only No
Function: Returns the app’s authorization status for sharing data while in the background state.
Notes:
A value indicating whether the app is authorized to share data using Bluetooth services while in the background. For a list of the possible values, see constants.

The authorization status of a given app is managed by the system and determined by several factors. Apps must be explicitly authorized to share data using Bluetooth services while in the background state. The system automatically displays a request for user authorization when your app first attempts to use Bluetooth services to share data.
Calling this method does not prompt the user for access. Instead, you use this method to detect restricted access and simply hide any affected UI features from the user.

Feedback, Comments & Corrections

CBPeripheralManagerMBS.Available as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Bluetooth MBS Bluetooth Plugin 18.1 Yes No No Yes, macOS only No
Function: Checks whether this class is available.
Notes: Returns true for MacOS 10.9 or newer.

Feedback, Comments & Corrections

CBPeripheralManagerMBS.CBPeripheralManagerOptionRestoreIdentifierKey as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Bluetooth MBS Bluetooth Plugin 18.1 Yes No No Yes, macOS only No
Function: One of the keys used to pass options to the Constructor.
Notes:
A string containing a unique identifier (UID) for the peripheral manager that is being instantiated.
The system uses this UID to identify a specific peripheral manager. As a result, the UID must remain the same for subsequent executions of the app in order for the peripheral manager to be successfully restored.

Feedback, Comments & Corrections

CBPeripheralManagerMBS.CBPeripheralManagerOptionShowPowerAlertKey as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Bluetooth MBS Bluetooth Plugin 18.1 Yes No No Yes, macOS only No
Function: One of the keys used to pass options to the Constructor.
Notes:
A Boolean value that specifies whether the system should display a warning dialog to the user if Bluetooth is powered off when the peripheral manager is instantiated.
The value for this key is a boolean. If the key is not specified, the default value is false.

Feedback, Comments & Corrections

CBPeripheralManagerMBS.CBPeripheralManagerRestoredStateAdvertisementDataKey as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Bluetooth MBS Bluetooth Plugin 18.1 Yes No No Yes, macOS only No
Function: One of the keys used to pass options to the constructor.
Notes: A dictionary containing the data that the peripheral manager was advertising at the time the app was terminated by the system.

Feedback, Comments & Corrections

CBPeripheralManagerMBS.CBPeripheralManagerRestoredStateServicesKey as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Bluetooth MBS Bluetooth Plugin 18.1 Yes No No Yes, macOS only No
Function: One of the keys used to pass options to the constructor.
Notes: An array of CBMutableService objects that contains all of the services that were published to the local peripheral’s database at the time the app was terminated by the system.

Feedback, Comments & Corrections

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




Links
MBS Xojo Chart Plugins