Contents

SCDynamicStoreCopyKeyList(_:_:)

Returns the keys that represent the current dynamic store entries that match the specified pattern.

Declaration

func SCDynamicStoreCopyKeyList(_ store: SCDynamicStore?, _ pattern: CFString) -> CFArray?

Parameters

  • store:

    The dynamic store session.

  • pattern:

    A regex(3) regular expression pattern used to match the dynamic store keys.

Return Value

An array of matching keys, or NULL if an error occurred. You must release the returned value.

See Also

Getting Keys and Values