Function SCPreferencesScheduleWithRunLoop

Source
pub unsafe extern "C-unwind" fn SCPreferencesScheduleWithRunLoop(
    prefs: &SCPreferences,
    run_loop: &CFRunLoop,
    run_loop_mode: &CFString,
) -> bool
Available on crate feature SCPreferences only.
Expand description

Schedule commit and apply notifications for the specified preferences session using the specified run loop and mode.

Parameter prefs: The preferences session.

Parameter runLoop: A reference to a run loop on which the notification should be scheduled. Must be non-NULL.

Parameter runLoopMode: The mode on which to schedule the notification. Must be non-NULL.

Returns: Returns TRUE if the notifications are successfully scheduled; FALSE otherwise.