Bug 59792 - [APIBreak] NSUserNotificationCenterDelegate notifications are poorly named
Summary: [APIBreak] NSUserNotificationCenterDelegate notifications are poorly named
Status: CONFIRMED
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Library (Xamarin.Mac.dll) (show other bugs)
Version: Master
Hardware: PC Mac OS
: Normal normal
Target Milestone: Future Cycle (TBD)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-09-27 15:06 UTC by Chris Hamons
Modified: 2017-09-28 00:37 UTC (History)
3 users (show)

See Also:
Tags:
Is this bug a regression?: No
Last known good build:


Attachments

Description Chris Hamons 2017-09-27 15:06:29 UTC
These all sound like general deliver/activate/present notifications but are user notification center specific:

		[Export ("userNotificationCenter:didDeliverNotification:"), EventArgs ("UNCDidDeliverNotification")]
		void DidDeliverNotification (NSUserNotificationCenter center, NSUserNotification notification);
		
		[Export ("userNotificationCenter:didActivateNotification:"), EventArgs ("UNCDidActivateNotification")]
		void DidActivateNotification (NSUserNotificationCenter center, NSUserNotification notification);
		
		[Export ("userNotificationCenter:shouldPresentNotification:"), DelegateName ("UNCShouldPresentNotification"), DefaultValue (false)]
		bool ShouldPresentNotification (NSUserNotificationCenter center, NSUserNotification notification);

We should fix it if/when we break API.

https://forums.xamarin.com/discussion/comment/298944

Note You need to log in before you can comment on or make changes to this bug.