public protocol AccessoryDelegate : AnyObject
ofService: ofAccessory: didChangeValue: )
Tells the delegate that the value of a characteristic has changed.
the service to which the characteristic belongs
the accessory to which the characteristic’s service belongs
the characteristic that was changed
the new value of the characteristic