public final class OverlayOrientation
extends java.lang.Enum
| Modifier and Type | Field and Description | 
|---|---|
static OverlayOrientation | 
LANDSCAPE
Allowed orientations will be
  
Orientation.ORIENTATION_LANDSCAPE_RIGHT or
 Orientation.ORIENTATION_LANDSCAPE_LEFT. | 
static OverlayOrientation | 
PORTRAIT
Allowed orientations will be
  
Orientation.ORIENTATION_PORTRAIT or
 Orientation.ORIENTATION_PORTRAIT_UPSIDE. | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
toActivityInfoOrientation()
Helper method to convert  
OverlayOrientation to ActivityInfo constant. | 
Orientation | 
toOrientation()
Helper method to convert  
OverlayOrientation to Orientation. | 
static OverlayOrientation | 
valueOf(java.lang.String name)  | 
static OverlayOrientation[] | 
values()  | 
public static final OverlayOrientation PORTRAIT
Orientation.ORIENTATION_PORTRAIT or
 Orientation.ORIENTATION_PORTRAIT_UPSIDE.public static final OverlayOrientation LANDSCAPE
Orientation.ORIENTATION_LANDSCAPE_RIGHT or
 Orientation.ORIENTATION_LANDSCAPE_LEFT.public static OverlayOrientation[] values()
public static OverlayOrientation valueOf(java.lang.String name)
public int toActivityInfoOrientation()
OverlayOrientation to ActivityInfo constant.ActivityInfo constant that represents enum.@NonNull public Orientation toOrientation()
OverlayOrientation to Orientation.OverlayOrientation that represents enum.