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. |