Contents

isNotifying

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

Declaration

var isNotifying: Bool { get }

Discussion

This value is true if you enabled notifications or indications for the characteristic by successfully calling the setNotifyValue(_:for:) method of the CBPeripheral class. In this case, the peripheral updates its connected central that whenever the characteristic’s value changes.

If the value of the property is false, notifications (or indications) aren’t enabled for the characteristic, and the peripheral doesn’t update its connected central when the characteristic’s value changes.

Topics

Related Documentation

See Also

Accessing Characteristic Data