notificationPriority property
Set the relative priority for this notification.
Priority is an indication of how much of the user's attention should be
consumed by this notification. Low-priority notifications may be hidden
from the user in certain situations, while the user might be interrupted
for a higher-priority notification. The effect of setting the same
priorities may differ slightly on different platforms. Note this priority
differs from AndroidMessagePriority. This priority is processed by the
client after the message has been delivered, whereas
AndroidMessagePriority
is an FCM concept that controls when the message is delivered.
Possible string values are:
- "PRIORITY_UNSPECIFIED" : If priority is unspecified, notification
priority is set to
PRIORITY_DEFAULT. - "PRIORITY_MIN" : Lowest notification priority. Notifications with this
PRIORITY_MINmight not be shown to the user except under special circumstances, such as detailed notification logs. - "PRIORITY_LOW" : Lower notification priority. The UI may choose to show
the notifications smaller, or at a different position in the list,
compared with notifications with
PRIORITY_DEFAULT. - "PRIORITY_DEFAULT" : Default notification priority. If the application does not prioritize its own notifications, use this value for all notifications.
- "PRIORITY_HIGH" : Higher notification priority. Use this for more
important notifications or alerts. The UI may choose to show these
notifications larger, or at a different position in the notification
lists, compared with notifications with
PRIORITY_DEFAULT. - "PRIORITY_MAX" : Highest notification priority. Use this for the application's most important items that require the user's prompt attention or input.
Implementation
core.String? notificationPriority;