Android Guides | Samples

Android.Views.SurfaceOrientation Enumeration

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

Syntax

public enum SurfaceOrientation

Remarks

Members

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

Requirements

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

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.