CBPeripheralManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Manages published services per the CBPeripheral device's GATT database.
[Foundation.Register("CBPeripheralManager", true)]
public class CBPeripheralManager : CoreBluetooth.CBManager
[<Foundation.Register("CBPeripheralManager", true)>]
type CBPeripheralManager = class
inherit CBManager
- Inheritance
- Attributes
Constructors
| Name | Description |
|---|---|
| CBPeripheralManager() |
Default constructor, initializes a new instance of this class. |
| CBPeripheralManager(ICBPeripheralManagerDelegate, DispatchQueue, NSDictionary) | |
| CBPeripheralManager(ICBPeripheralManagerDelegate, DispatchQueue) | |
| CBPeripheralManager(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| CBPeripheralManager(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| Advertising | |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| DebugDescription | (Inherited from NSObject) |
| Delegate |
An instance of the CoreBluetooth.ICBPeripheralManagerDelegate model class which acts as the class delegate. |
| Description | (Inherited from NSObject) |
| ExposedBindings | (Inherited from NSObject) |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| IsDirectBinding | (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| OptionRestoreIdentifierKey |
Represents the value associated with the constant CBPeripheralManagerOptionRestoreIdentifierKey |
| OptionShowPowerAlertKey |
Represents the value associated with the constant CBPeripheralManagerOptionShowPowerAlertKey |
| RestoredStateAdvertisementDataKey |
Represents the value associated with the constant CBPeripheralManagerRestoredStateAdvertisementDataKey |
| RestoredStateServicesKey |
Represents the value associated with the constant CBPeripheralManagerRestoredStateServicesKey |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| State | (Inherited from CBManager) |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| WeakDelegate |
An object that can respond to the delegate protocol for this type |
| Zone | (Inherited from NSObject) |
Methods
Events
| Name | Description |
|---|---|
| AdvertisingStarted |
Event raised by the object. |
| CharacteristicSubscribed |
Event raised by the object. |
| CharacteristicUnsubscribed |
Event raised by the object. |
| DidOpenL2CapChannel |
Event raised by the object. |
| DidPublishL2CapChannel |
Event raised by the object. |
| DidUnpublishL2CapChannel |
Event raised by the object. |
| ReadRequestReceived |
Event raised by the object. |
| ReadyToUpdateSubscribers |
Event raised by the object. |
| ServiceAdded |
Event raised by the object. |
| StateUpdated |
Event raised by the object. |
| WillRestoreState |
Event raised by the object. |
| WriteRequestsReceived |
Event raised by the object. |