public enum ScreenOrientationType extends Enum<ScreenOrientationType>
| Enum Constant and Description |
|---|
LANDSCAPE_PRIMARY |
LANDSCAPE_SECONDARY |
PORTRAIT_PRIMARY |
PORTRAIT_SECONDARY |
| Modifier and Type | Method and Description |
|---|---|
static ScreenOrientationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScreenOrientationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScreenOrientationType PORTRAIT_PRIMARY
public static final ScreenOrientationType PORTRAIT_SECONDARY
public static final ScreenOrientationType LANDSCAPE_PRIMARY
public static final ScreenOrientationType LANDSCAPE_SECONDARY
public static ScreenOrientationType[] values()
for (ScreenOrientationType c : ScreenOrientationType.values()) System.out.println(c);
public static ScreenOrientationType 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 nullCopyright © 2020. All rights reserved.