Instance Property

isNotificationEnabled

A Boolean indicating whether the characteristic has been set to send notifications.

Declaration

var isNotificationEnabled: Bool { get }

Discussion

HomeKit delivers notifications to the accessory delegate using the accessory(_:service:didUpdateValueFor:) method.

See Also

Receiving Change Notifications

func enableNotification(Bool, completionHandler: (Error?) -> Void)

Enables or disables notifications for changes in the value of the characteristic.