편집

다음을 통해 공유


IUNUserNotificationCenterDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol UNUserNotificationCenterDelegate.

[Foundation.Protocol(Name="UNUserNotificationCenterDelegate", WrapperType=typeof(UserNotifications.UNUserNotificationCenterDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface IUNUserNotificationCenterDelegate : IDisposable, ObjCRuntime.INativeObject
type IUNUserNotificationCenterDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by UNUserNotificationCenterDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UNUserNotificationCenterDelegate protocol.

Optional methods (if any) are provided by the UNUserNotificationCenterDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

DidReceiveNotificationResponse(IUNUserNotificationCenterDelegate, UNUserNotificationCenter, UNNotificationResponse, Action)

Called when the user selects an action from a notification from the app.

OpenSettings(IUNUserNotificationCenterDelegate, UNUserNotificationCenter, UNNotification)

Called to open the in-app notification settings.

WillPresentNotification(IUNUserNotificationCenterDelegate, UNUserNotificationCenter, UNNotification, Action<UNNotificationPresentationOptions>)

Called to deliver a notification to an application that is running in the foreground.

Applies to