Serializable, Comparable<NotificationDisplayer.Priority>public static enum NotificationDisplayer.Priority extends Enum<NotificationDisplayer.Priority>
| Enum Constant | Description |
|---|---|
HIGH |
|
LOW |
|
NORMAL |
|
SILENT |
Priority that shows the notification without details.
|
| Modifier and Type | Method | Description |
|---|---|---|
Icon |
getIcon() |
Returns priority icon
|
static NotificationDisplayer.Priority |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static NotificationDisplayer.Priority[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationDisplayer.Priority HIGH
public static final NotificationDisplayer.Priority NORMAL
public static final NotificationDisplayer.Priority LOW
public static final NotificationDisplayer.Priority SILENT
public static NotificationDisplayer.Priority[] values()
for (NotificationDisplayer.Priority c : NotificationDisplayer.Priority.values()) System.out.println(c);
public static NotificationDisplayer.Priority valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Icon getIcon()
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.