Type Alias

CFNotificationCallback

Callback function invoked for each observer of a notification when the notification is posted.

Declaration

Parameters

center

The notification center handling the notification.

observer

An arbitrary value, other than NULL, that identifies the observer.

name

The name of the notification being posted.

object

An arbitrary value that identifies the object posting the notification. For distributed notifications, object is always a CFString object. This value could be NULL.

userInfo

A dictionary containing additional information regarding the notification. This value could be NULL.

If the notification center is a Darwin notification center, this value must be ignored.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software