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.

Provided Methods§

source

unsafe fn userNotificationCenter_didDeliverNotification( &self, center: &NSUserNotificationCenter, notification: &NSUserNotification )
where Self: Sized + Message,

👎Deprecated: All NSUserNotifications API should be replaced with UserNotifications.frameworks API
source

unsafe fn userNotificationCenter_didActivateNotification( &self, center: &NSUserNotificationCenter, notification: &NSUserNotification )
where Self: Sized + Message,

👎Deprecated: All NSUserNotifications API should be replaced with UserNotifications.frameworks API
source

unsafe fn userNotificationCenter_shouldPresentNotification( &self, center: &NSUserNotificationCenter, notification: &NSUserNotification ) -> bool
where Self: Sized + Message,

👎Deprecated: All NSUserNotifications API should be replaced with UserNotifications.frameworks API

Trait Implementations§

source§

impl ProtocolType for dyn NSUserNotificationCenterDelegate

source§

const NAME: &'static str = "NSUserNotificationCenterDelegate"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn NSUserNotificationCenterDelegate

Implementations on Foreign Types§

source§

impl<T> NSUserNotificationCenterDelegate for ProtocolObject<T>

Implementors§