init(characteristic:targetValue:)
Initialize a characteristic write action with a specified characteristic and target value.
Declaration
init(characteristic: HMCharacteristic, targetValue: TargetValueType)Parameters
- characteristic:
The characteristic.
- targetValue:
The target value for the characteristic.
Return Value
A newly initialized characteristic write action object with the specified characteristic and target value.
See Also
Related Documentation
- HomeKit Developer Guide