Android Guides | Samples

Android.Views.SurfaceOrientation Enumeration

Enumerates values returned by several types and taken as a parameter of the Surface.SetOrientation member.


public enum SurfaceOrientation



Member NameDescription
Rotation0Rotation constant: 0 degree rotation (natural orientation)
Rotation180Rotation constant: 180 degree rotation.
Rotation270Rotation constant: 270 degree rotation.
Rotation90Rotation constant: 90 degree rotation.


Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions:

The members of Android.Views.SurfaceOrientation are listed below.

See Also: Enum

Public Fields

Rotation0SurfaceOrientation. Rotation constant: 0 degree rotation (natural orientation)
Rotation180SurfaceOrientation. Rotation constant: 180 degree rotation.
Rotation270SurfaceOrientation. Rotation constant: 270 degree rotation.
Rotation90SurfaceOrientation. Rotation constant: 90 degree rotation.