pub type SCPreferencesCallBack = Option<unsafe extern "C-unwind" fn(NonNull<SCPreferences>, SCPreferencesNotification, *mut c_void)>;
Available on crate feature
SCPreferences
only.Expand description
Type of the callback function used when the preferences have been updated and/or applied.
Parameter prefs
: The preferences session.
Parameter notificationType
: The type of notification, such as changes
committed, changes applied, etc.
Parameter info
: A C pointer to a user-specified block of data.
See also Apple’s documentation
Aliased Type§
pub enum SCPreferencesCallBack {
None,
Some(unsafe extern "C-unwind" fn(NonNull<SCPreferences>, SCPreferencesNotification, *mut c_void)),
}
Variants§
None
No value.
Some(unsafe extern "C-unwind" fn(NonNull<SCPreferences>, SCPreferencesNotification, *mut c_void))
Some value of type T
.