Show / Hide Table of Contents

Enum AN_NotificationManager.Importance

Namespace: SA.Android.App
Assembly: cs.temp.dll.dll
Syntax
public enum Importance

Fields

Name Description
DEFAULT

Default notification importance: shows everywhere, makes noise, but does not visually intrude.

HIGH

Higher notification importance: shows everywhere, makes noise and peeks. May use full screen intents.

LOW

Low notification importance: shows everywhere, but is not intrusive.

MAX

Unused

MIN

Min notification importance: only shows in the shade, below the fold. This should not be used with Service.startForeground since a foreground service is supposed to be something the user cares about so it does not make semantic sense to mark its notification as minimum importance. If you do this as of Android version O the system will show a higher-priority notification about your app running in the background.

NONE

A notification with no importance: does not show in the shade.

UNSPECIFIED

Value signifying that the user has not expressed an importance. This value is for persisting preferences, and should never be associated with an actual notification.

In This Article
Back to top Generated by DocFX