public enum AppServiceType extends Enum<AppServiceType>
| Enum Constant and Description |
|---|
MEDIA |
NAVIGATION |
WEATHER |
| Modifier and Type | Method and Description |
|---|---|
static AppServiceType |
valueForString(String value)
Convert String to AppServiceType
|
static AppServiceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppServiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppServiceType MEDIA
public static final AppServiceType WEATHER
public static final AppServiceType NAVIGATION
public static AppServiceType[] values()
for (AppServiceType c : AppServiceType.values()) System.out.println(c);
public static AppServiceType 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 static AppServiceType valueForString(String value)
value - String