Contents

SCDynamicStoreSetValue(_:_:_:)

Adds or replaces a value in the dynamic store for the specified key.

Declaration

func SCDynamicStoreSetValue(_ store: SCDynamicStore?, _ key: CFString, _ value: CFPropertyList) -> Bool

Parameters

  • store:

    The dynamic store session.

  • key:

    The key associated with the value.

  • value:

    The value to add to or replace in the dynamic store.

Return Value

TRUE if the key was updated; otherwise, FALSE.

See Also

Adding or Updating Keys and Values