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§
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.