Function SCDynamicStoreSetNotificationKeys

Source
pub unsafe extern "C-unwind" fn SCDynamicStoreSetNotificationKeys(
    store: &SCDynamicStore,
    keys: Option<&CFArray>,
    patterns: Option<&CFArray>,
) -> bool
Available on crate feature SCDynamicStore only.
Expand description

Specifies a set of specific keys and key patterns that should be monitored for changes.

Parameter store: The dynamic store session being watched.

Parameter keys: An array of keys to be monitored; NULL if no specific keys are to be monitored.

Parameter patterns: An array of regex(3) pattern strings used to match keys to be monitored; NULL if no key patterns are to be monitored.

Returns: Returns TRUE if the set of notification keys and patterns was successfully updated; FALSE if an error was encountered.