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