public final class CLDeviceOrientation extends Object
Modifier and Type | Field and Description |
---|---|
static int |
FaceDown
The device is held parallel to the ground with the screen downwards.
|
static int |
FaceUp
The device is held parallel to the ground with the screen upwards.
|
static int |
LandscapeLeft
The device is held horizontally with home button on the right side.
|
static int |
LandscapeRight
The device is held horizontally with home button on the left side.
|
static int |
Portrait
The device is held vertically with home button at the bottom.
|
static int |
PortraitUpsideDown
The device is held vertically with home button at the top.
|
static int |
Unknown
The orientation of the device is unknown.
|
public static final int Unknown
public static final int Portrait
public static final int PortraitUpsideDown
public static final int LandscapeLeft
public static final int LandscapeRight
public static final int FaceUp
public static final int FaceDown
Copyright © 2020. All rights reserved.