pub unsafe trait NSUserNotificationCenterDelegate: NSObjectProtocol {
// Provided methods
unsafe fn userNotificationCenter_didDeliverNotification(
&self,
center: &NSUserNotificationCenter,
notification: &NSUserNotification,
)
where Self: Sized + Message { ... }
unsafe fn userNotificationCenter_didActivateNotification(
&self,
center: &NSUserNotificationCenter,
notification: &NSUserNotification,
)
where Self: Sized + Message { ... }
unsafe fn userNotificationCenter_shouldPresentNotification(
&self,
center: &NSUserNotificationCenter,
notification: &NSUserNotification,
) -> bool
where Self: Sized + Message { ... }
}
Available on crate feature
NSUserNotification
only.Expand description
Provided Methods§
unsafe fn userNotificationCenter_didDeliverNotification( &self, center: &NSUserNotificationCenter, notification: &NSUserNotification, )
👎Deprecated: All NSUserNotifications API should be replaced with UserNotifications.frameworks API
unsafe fn userNotificationCenter_didActivateNotification( &self, center: &NSUserNotificationCenter, notification: &NSUserNotification, )
👎Deprecated: All NSUserNotifications API should be replaced with UserNotifications.frameworks API
unsafe fn userNotificationCenter_shouldPresentNotification( &self, center: &NSUserNotificationCenter, notification: &NSUserNotification, ) -> bool
👎Deprecated: All NSUserNotifications API should be replaced with UserNotifications.frameworks API