Enum PermissionStatus
Represents a status of the Android runtime permission.
Namespace: Unity.Notifications.Android
Assembly: solution.dll
Syntax
public enum PermissionStatus
Fields
Name | Description |
---|---|
Allowed | User gave permission. |
Denied | User denied permission. |
DeniedDontAskAgain | No longer used. User denied permission and expressed intent to not be prompted again. |
NotRequested | No permission as user was not prompted for it. |
NotificationsBlockedForApp | Notifications are blocked for this app. Before API level 33 this means they were disabled in Settings. https://developer.android.com/reference/android/app/NotificationManager#areNotificationsEnabled() |
RequestPending | A request for permission was made and user hasn't responded yet. |