public enum ApiVersion extends Enum<ApiVersion>
| Enum Constant and Description |
|---|
FIVE_FOUR |
FIVE_ONE
Use version 5.1.
|
FIVE_THREE
Use version 5.3.
|
FIVE_TWO
Use version 5.2.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getVersionName() |
static ApiVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiVersion FIVE_ONE
public static final ApiVersion FIVE_TWO
public static final ApiVersion FIVE_THREE
public static final ApiVersion FIVE_FOUR
public static ApiVersion[] values()
for (ApiVersion c : ApiVersion.values()) System.out.println(c);
public static ApiVersion 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 String getVersionName()
Copyright © 2016. All Rights Reserved.