docs.unity.cn
    Show / Hide Table of Contents

    Enum AuthorizationOption

    Enum for requesting authorization to interact with the user.

    Namespace: Unity.Notifications.iOS
    Syntax
    [Flags]
    public enum AuthorizationOption

    Fields

    Name Description Value
    Badge

    The ability to update the app’s badge.


    1
    Sound

    The ability to play sounds.


    2
    Alert

    The ability to display alerts.


    4
    CarPlay

    The ability to display notifications in a CarPlay environment.


    8
    CriticalAlert

    The ability to play sounds for critical alerts. Critical alerts require a special entitlement issued by Apple.


    16
    ProvidesAppNotificationSettings

    An option indicating the system should display a button for in-app notification settings.


    32
    Provisional

    The ability to post noninterrupting notifications provisionally to the Notification Center.


    64
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, May 22, 2023