ScreenOrientation Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by several types and taken as a parameter of the F:Android.Webkit.WebChromeClient.OnShowCustomView member.
public enum ScreenOrientation
type ScreenOrientation =
- Inheritance
-
ScreenOrientation
Fields
| Name | Value | Description |
|---|---|---|
| Unspecified | -1 | Constant corresponding to unspecified in the R.attr.screenOrientation attribute. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Landscape | 0 | Constant corresponding to landscape in the R.attr.screenOrientation attribute. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Portrait | 1 | Constant corresponding to portrait in the R.attr.screenOrientation attribute. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| User | 2 | Constant corresponding to user in the R.attr.screenOrientation attribute. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Behind | 3 | Constant corresponding to behind in the R.attr.screenOrientation attribute. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Sensor | 4 | Constant corresponding to sensor in the R.attr.screenOrientation attribute. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Nosensor | 5 | Constant corresponding to nosensor in the R.attr.screenOrientation attribute. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| SensorLandscape | 6 | Constant corresponding to sensorLandscape in the R.attr.screenOrientation attribute. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| SensorPortrait | 7 | Constant corresponding to sensorPortrait in the R.attr.screenOrientation attribute. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ReverseLandscape | 8 | Constant corresponding to reverseLandscape in the R.attr.screenOrientation attribute. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ReversePortrait | 9 | Constant corresponding to reversePortrait in the R.attr.screenOrientation attribute. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| FullSensor | 10 | Constant corresponding to fullSensor in the R.attr.screenOrientation attribute. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| UserLandscape | 11 | Constant corresponding to userLandscape in the R.attr.screenOrientation attribute. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| UserPortrait | 12 | Constant corresponding to userPortrait in the R.attr.screenOrientation attribute. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| FullUser | 13 | Constant corresponding to fullUser in the R.attr.screenOrientation attribute. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Locked | 14 | Constant corresponding to locked in the R.attr.screenOrientation attribute. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.