Share via


UNAuthorizationStatus Enum

Definition

Enumerates ways in which the user can respond to a request for permission to post notifications.

[ObjCRuntime.Native]
public enum UNAuthorizationStatus
[<ObjCRuntime.Native>]
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.

Ephemeral 4

Applies to