Condividi tramite


UIApplication.EnabledRemoteNotificationTypes Proprietà

Definizione

Restituisce un valore con maschera UIRemoteNotificationType di bit che indica i tipi di notifiche accettati dall'app.

[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

Valore della proprietà

Maschera di UIRemoteNotificationType bit che indica i tipi di notifiche accettati dall'app.

Attributi

Si applica a

Vedi anche

  • <xref:UIKit.UIApplication.RegisterForRemoteNotificationTypes>