java.io.Serializable
, java.lang.Comparable<Build.Flavor>
public static enum Build.Flavor extends java.lang.Enum<Build.Flavor>
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
displayName() |
|
static Build.Flavor |
fromDisplayName(java.lang.String displayName) |
|
static Build.Flavor |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Build.Flavor[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Build.Flavor DEFAULT
public static final Build.Flavor OSS
public static final Build.Flavor UNKNOWN
public static Build.Flavor[] values()
for (Build.Flavor c : Build.Flavor.values()) System.out.println(c);
public static Build.Flavor 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 java.lang.String displayName()
public static Build.Flavor fromDisplayName(java.lang.String displayName)