Instance Method

accessory:service:didUpdateValueForCharacteristic:

Informs the delegate of a change in value of a characteristic.

Declaration

- (void)accessory:(HMAccessory *)accessory service:(HMService *)service didUpdateValueForCharacteristic:(HMCharacteristic *)characteristic;

Parameters

accessory

The accessory.

service

The service with a changed characteristic value.

characteristic

The characteristic whose value changed.

Discussion

This method is called as a result of a change in value initiated by the accessory. Programmatic changes initiated by the app do not result in this method being called.

See Also

Observing Accessories

- accessoryDidUpdateName:

Informs the delegate when the name of the accessory is updated.

- accessoryDidUpdateReachability:

Informs the delegate when the reachability of the accessory changes.

- accessoryDidUpdateServices:

Informs the delegate when the services on the accessory have been updated.

- accessory:didUpdateNameForService:

Informs the delegate when the name of a service is updated.

- accessory:didUpdateAssociatedServiceTypeForService:

Informs the delegate when the associated service type of a service is modified.

- accessory:didAddProfile:

Informs the delegate when a profile is added to an accessory.

- accessory:didRemoveProfile:

Informs the delegate when a profile is removed from an accessory.

- accessory:didUpdateFirmwareVersion:

Informs the delegate when firmwareVersion has been changed for an accessory.