---
title: SCPreferencesCallBack
framework: systemconfiguration
role: symbol
role_heading: Type Alias
path: systemconfiguration/scpreferencescallback
---

# SCPreferencesCallBack

Type of the callback function used when the preferences have been updated or applied.

## Declaration

```swift
typealias SCPreferencesCallBack = (SCPreferences, SCPreferencesNotification, UnsafeMutableRawPointer?) -> Void
```

## Parameters

- `prefs`: The preferences session.
- `notificationType`: The type of notification, such as changes committed or changes applied. See doc://com.apple.systemconfiguration/documentation/SystemConfiguration/SCPreferencesNotification for information about possible values.
- `info`: A C pointer to a user-specified block of data.

## Topics

### Fields

- [prefs](systemconfiguration/1808420-prefs.md)
- [notificationType](systemconfiguration/1808421-notificationtype.md)

## See Also

### Data Types

- [SCPreferences](systemconfiguration/scpreferences.md)
- [SCPreferencesContext](systemconfiguration/scpreferencescontext.md)
