UNUserNotificationCenter
UNUserNotificationCenter(IntPtr)
UNUserNotificationCenter(NativeHandle)
UNUserNotificationCenter(NSObjectFlag)
ClassHandle
Current
Delegate
SupportsContentExtensions
AddNotificationRequest(UNNotificationRequest, Action<NSError>)
AddNotificationRequestAsync(UNNotificationRequest)
Dispose(Boolean)
GetDeliveredNotifications(Action<UNNotification[]>)
GetDeliveredNotificationsAsync()
GetNotificationCategories(Action<NSSet<UNNotificationCategory>>)
GetNotificationCategoriesAsync()
GetNotificationSettings(Action<UNNotificationSettings>)
GetNotificationSettingsAsync()
GetPendingNotificationRequests(Action<UNNotificationRequest[]>)
GetPendingNotificationRequestsAsync()
RemoveAllDeliveredNotifications()
RemoveAllPendingNotificationRequests()
RemoveDeliveredNotifications(String[])
RemovePendingNotificationRequests(String[])
RequestAuthorization(UNAuthorizationOptions, Action<Boolean, NSError>)
RequestAuthorizationAsync(UNAuthorizationOptions)
SetBadgeCount(nint, Action<NSError>)
SetBadgeCountAsync(nint)
SetNotificationCategories(NSSet<UNNotificationCategory>)
xamarinios
namespace UserNotifications
{
[Introduced(PlatformName.iOS, 10, 0, PlatformArchitecture.All, null)]
[Introduced(PlatformName.TvOS, 10, 0, PlatformArchitecture.All, null)]
[Introduced(PlatformName.WatchOS, 3, 0, PlatformArchitecture.All, null)]
[Introduced(PlatformName.MacOSX, 10, 14, PlatformArchitecture.All, null)]
[Register("UNUserNotificationCenter", true)]
public class UNUserNotificationCenter : NSObject
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
protected internal UNUserNotificationCenter(IntPtr handle);
}
}
Xamarin iOS | 0.0 |
---|---|
Xamarin macOS | 0.0 |
Xamarin tvOS | 0.0 |
Xamarin watchOS | 0.0 |
Information specific to xamarinios | |
Assembly | Xamarin.iOS , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API