次の方法で共有


UIApplication.EnabledRemoteNotificationTypes プロパティ

定義

アプリが受け入れる通知の種類を示すビット マスク UIRemoteNotificationType を返します。

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'CurrentUserNotificationSettings' or 'UNUserNotificationCenter.GetNotificationSettings' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIRemoteNotificationType EnabledRemoteNotificationTypes { [Foundation.Export("enabledRemoteNotificationTypes")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'CurrentUserNotificationSettings' or 'UNUserNotificationCenter.GetNotificationSettings' instead.")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.EnabledRemoteNotificationTypes : UIKit.UIRemoteNotificationType

プロパティ値

アプリが UIRemoteNotificationType 受け入れる通知の種類を示すビット マスク。

属性

適用対象

こちらもご覧ください

  • <xref:UIKit.UIApplication.RegisterForRemoteNotificationTypes>