docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Enum PresentationOption

    Constants indicating how to present a notification in a foreground app https://developer.apple.com/documentation/usernotifications/unnotificationpresentationoptions?language=objc

    Namespace: Unity.Notifications.iOS
    Assembly: solution.dll
    Syntax
    [Flags]
    public enum PresentationOption

    Fields

    Name Description
    Alert

    Display the alert using the content provided by the notification.

    Badge

    Apply the notification's badge value to the app’s icon.

    Banner

    Present the notification as a banner.

    List

    Show the notification in Notification Center.

    None

    No options are set.

    Sound

    Play the sound associated with the notification.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023