public static enum InboxItem.Priority extends java.lang.Enum<InboxItem.Priority>
Enum Constant and Description |
---|
HIGH
High Priority
|
LOW
Low Priority.
|
MEDIUM
Medium Priority
|
Modifier and Type | Method and Description |
---|---|
static InboxItem.Priority |
getPriority(long value)
Converts a long to its equivalent priority value.
|
long |
getPriorityValue()
Get the long value for this priority.
|
static InboxItem.Priority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InboxItem.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InboxItem.Priority LOW
public static final InboxItem.Priority MEDIUM
public static final InboxItem.Priority HIGH
public static InboxItem.Priority[] values()
for (InboxItem.Priority c : InboxItem.Priority.values()) System.out.println(c);
public static InboxItem.Priority valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic long getPriorityValue()
public static final InboxItem.Priority getPriority(long value)
value <= -100
MEDIUM: -100 < value < 100
HIGH: value >= 100
value
- the long value to convert to a Priority"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"