Display.Orientation Property

Definition

Caution

deprecated

This member is deprecated.

[System.Obsolete("deprecated")]
public virtual int Orientation { [Android.Runtime.Register("getOrientation", "()I", "GetGetOrientationHandler")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getOrientation", "()I", "GetGetOrientationHandler")>]
member this.Orientation : int

Property Value

orientation of this display.

Attributes

Remarks

This member is deprecated. use #getRotation

Java documentation for android.view.Display.getOrientation().

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.

Applies to