Share via


UNUserNotificationCenterDelegate_Extensions 클래스

정의

프로토콜의 모든 메서드를 IUNUserNotificationCenterDelegate 지원하기 위해 인터페이스에 대한 확장 메서드입니다 UNUserNotificationCenterDelegate .

public static class UNUserNotificationCenterDelegate_Extensions
type UNUserNotificationCenterDelegate_Extensions = class
상속
UNUserNotificationCenterDelegate_Extensions

설명

개발자가 인터페이스의 인스턴스를 IUNUserNotificationCenterDelegate 원래 UNUserNotificationCenterDelegate 프로토콜의 모든 선택적 메서드를 갖는 것으로 처리할 수 있는 확장 메서드입니다. 인터페이스에는 필요한 멤버만 포함되므로 이러한 확장 메서드를 사용하면 개발자가 프로토콜의 선택적 멤버를 호출할 수 있습니다.

메서드

DidReceiveNotificationResponse(IUNUserNotificationCenterDelegate, UNUserNotificationCenter, UNNotificationResponse, Action)

사용자가 앱에서 알림에서 작업을 선택할 때 호출됩니다.

OpenSettings(IUNUserNotificationCenterDelegate, UNUserNotificationCenter, UNNotification)

앱 내 알림 설정을 열기 위해 호출됩니다.

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

포그라운드에서 실행 중인 애플리케이션에 알림을 전달하기 위해 호출됩니다.

적용 대상