UIApplication.EnabledRemoteNotificationTypes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a bit-masked UIRemoteNotificationType indicating which types of notifications the app accepts.
[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
Property Value
A bit-masked UIRemoteNotificationType indicating which types of notifications the app accepts.
- Attributes
Applies to
See also
- <xref:UIKit.UIApplication.RegisterForRemoteNotificationTypes>