docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum NotificationPresentation

    Options, specifying how notifications should be presented to the user. These option can be bitwise-ored to combine them.

    Namespace: Unity.Notifications
    Assembly: solution.dll
    Syntax
    [Flags]
    public enum NotificationPresentation
    Remarks

    On Android Alert and Sound flags are used to choose importance level for the channel, so specifying Alert also includes sound.

    Fields

    Name Description
    Alert

    Specifies that when notification arrives, a pop-up should show up on screen. Alerts can be disabled by user in device settings. They may also be disabled by default.

    Badge

    Whether notifications can set a badge on applications launcher.

    Sound

    Whether notifications cause device to play sound uppon arrival.

    Vibrate

    Causes device to vibrate when notification is received. Android only.

    See Also
    PresentationOptions
    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)