Instance Property

subscribedCentrals

A list of centrals currently subscribed to the characteristic’s value.

Declaration

var subscribedCentrals: [CBCentral]? { get }

Discussion

The value of this property is an array of CBCentral objects that are currently subscribed to the characteristic’s value. The array is empty if the characteristic is not configured to support notifications or indications. Even if the characteristic is configured to support notifications or indications, the array is empty if no centrals are currently subscribing to the characteristic’s value.

See Also

Managing a Mutable Characteristic

var value: Data?

The value of the characteristic.

var descriptors: [CBDescriptor]?

A list of descriptors that describe the characteristic.

var properties: CBCharacteristicProperties

The properties of the characteristic.

var permissions: CBAttributePermissions

The permissions of the characteristic value.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software