다음을 통해 공유


UNUserNotificationCenterDelegate_Extensions.DidReceiveNotificationResponse 메서드

정의

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

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DidReceiveNotificationResponse (this UserNotifications.IUNUserNotificationCenterDelegate This, UserNotifications.UNUserNotificationCenter center, UserNotifications.UNNotificationResponse response, Action completionHandler);
static member DidReceiveNotificationResponse : UserNotifications.IUNUserNotificationCenterDelegate * UserNotifications.UNUserNotificationCenter * UserNotifications.UNNotificationResponse * Action -> unit

매개 변수

This
IUNUserNotificationCenterDelegate

이 확장 메서드가 작동하는 인스턴스입니다.

center
UNUserNotificationCenter

응답을 받은 알림 센터입니다.

response
UNNotificationResponse

사용자의 응답입니다.

completionHandler
Action

인수를 사용하지 않고 값을 반환하지 않는 작업입니다.

특성

적용 대상