UNNotificationContentExtensionResponseOption 列舉
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
列舉慣用的通知回應。
[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 | 表示不會關閉通知介面,而且內容延伸模組會處理動作。 |