-
characteristic(_:Default implementationofService: ofAccessory: didChangeValue: ) Tells the delegate that the value of a characteristic has changed.
Default Implementation
Declaration
Swift
func characteristic<T>(_ characteristic: GenericCharacteristic<T>, ofService: Service, ofAccessory: Accessory, didChangeValue: T?)Parameters
ofServicethe service to which the characteristic belongs
ofAccessorythe accessory to which the characteristic’s service belongs
characteristicthe characteristic that was changed
didChangeValuethe new value of the characteristic
View on GitHub
Install in Dash
AccessoryDelegate Protocol Reference