Instance Property

isNotifying

A Boolean value indicating whether the characteristic is currently notifying a subscribed central of its value.

Declaration

var isNotifying: Bool { get }

Discussion

true if you have enabled notifications or indications for the characteristic by successfully calling the setNotifyValue(_:for:) method of the CBPeripheral class. If the value of this property is true, the peripheral updates the subscribed central that it is connected to whenever the characteristic’s value has changed. If the value of the property is false, notifications (or indications) have not been enabled for the characteristic, and the peripheral does not update the central that it is connected to whenever the characteristic’s value has changed.

See Also

Accessing Characteristic Data

var value: Data?

The value of the characteristic.

var descriptors: [CBDescriptor]?

A list of the descriptors that have been discovered in this characteristic.

var properties: CBCharacteristicProperties

The properties of the characteristic.

var isBroadcasted: Bool

You should not use this property.

Deprecated

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