dequeueNotifications(matching:coalesceMask:)
Removes all notifications from the queue that match a provided notification using provided matching criteria.
Declaration
func dequeueNotifications(matching notification: Notification, coalesceMask: Int)Parameters
- notification:
The notification used for matching notifications to remove from the notification queue.
- coalesceMask:
A mask indicating what criteria to use when matching attributes of
notificationto attributes of notifications in the queue. The mask is created by combining any of the constants None, Onname, and Onsender.