共用方式為


UNNotificationContentExtensionResponseOption 列舉

定義

列舉慣用的通知回應。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UNNotificationContentExtensionResponseOption
type UNNotificationContentExtensionResponseOption = 
繼承
UNNotificationContentExtensionResponseOption
屬性

欄位

Dismiss 1

表示通知介面將會關閉,而且內容延伸模組會處理動作。

DismissAndForwardAction 2

指出通知介面將會關閉,而且通知將會轉送至應用程式,以便回應。

DoNotDismiss 0

表示不會關閉通知介面,而且內容延伸模組會處理動作。

適用於