UNAuthorizationStatus Enum
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.
Enumerates ways in which the user can respond to a request for permission to post notifications.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public enum UNAuthorizationStatus
type UNAuthorizationStatus =
- Inheritance
-
UNAuthorizationStatus
- Attributes
Fields
Name | Value | Description |
---|---|---|
NotDetermined | 0 | The user has not yet allowed or denied the app permission to post notifications. |
Denied | 1 | The user has denied the app permission to post notifications. |
Authorized | 2 | The user has allowed the app to post notifications. |
Provisional | 3 | The user has allowed provisional noncritical notifications. |