SCDynamicStoreSetNotificationKeys(_:_:_:)
Specifies a set of keys and key patterns that should be monitored for changes.
Declaration
func SCDynamicStoreSetNotificationKeys(_ store: SCDynamicStore, _ keys: CFArray?, _ patterns: CFArray?) -> BoolParameters
- store:
The dynamic store session being watched.
- keys:
An array of keys to be monitored or
NULLif no specific keys are to be monitored. - patterns:
An array of regex(3) pattern strings used to match keys to be monitored or
NULLif no key patterns are to be monitored.
Return Value
TRUE if the set of notification keys and patterns was successfully updated; otherwise, FALSE.