Updates a displayed user notification dialog with new user interface information.
SDK
- macOS 10.0+
Framework
- Core Foundation
Declaration
SInt32 CFUserNotificationUpdate(CFUser Notification Ref userNotification, CFTime Interval timeout, CFOption Flags flags, CFDictionary Ref dictionary);
Parameters
userNotification
The user notification to update.
timeout
The new timeout value for the dialog.
flags
A set of flags describing the type of notification to display. See
CFUser
for details.Notification Create dictionary
A description of the elements to display in the notification dialog. The possible keys are listed in Dialog Description Keys.
Return Value
0
if the cancel was successful; a non-0
value otherwise.