docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)