SCDynamicStoreAddValue(_:_:_:)
Adds the specified key-value pair to the dynamic store, if no such key already exists.
Declaration
func SCDynamicStoreAddValue(_ store: SCDynamicStore?, _ key: CFString, _ value: CFPropertyList) -> BoolParameters
- store:
The dynamic store session.
- key:
The key of the value to add to the dynamic store.
- value:
The value to add to the dynamic store.
Return Value
TRUE if the key was added; FALSE if the key was already present in the dynamic store or if an error occurred.