UIUserNotificationActivationMode 列挙型

定義

UIUserNotificationAction フォアグラウンド モードまたはバックグラウンド モードでアプリを実行する必要があるかどうか。

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNNotificationActionOptions' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIUserNotificationActivationMode
type UIUserNotificationActivationMode = 
継承
UIUserNotificationActivationMode
属性

フィールド

Background 1

アクティブ化されたアプリはバックグラウンドに配置する必要があります。

Foreground 0

アクティブ化されたアプリは、フォアグラウンドに配置する必要があります。

適用対象