public enum ListItemState extends Enum<ListItemState>
Enum Constant and Description |
---|
ACTIVE |
COMPLETED |
UNKNOWN_TO_SDK_VERSION |
Modifier and Type | Method and Description |
---|---|
static ListItemState |
fromValue(String text) |
Object |
getValue() |
String |
toString() |
static ListItemState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListItemState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListItemState ACTIVE
public static final ListItemState COMPLETED
public static final ListItemState UNKNOWN_TO_SDK_VERSION
public static ListItemState[] values()
for (ListItemState c : ListItemState.values()) System.out.println(c);
public static ListItemState 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 Object getValue()
public String toString()
toString
in class Enum<ListItemState>
public static ListItemState fromValue(String text)
Copyright © 2023. All rights reserved.