Surface.SetOrientation(Int32, SurfaceOrientation) Method

Definition

Sets the orientation for the supplied display.

[Android.Runtime.Register("setOrientation", "(II)V", "")]
public static void SetOrientation(int display, Android.Views.SurfaceOrientation orientation);
[<Android.Runtime.Register("setOrientation", "(II)V", "")>]
static member SetOrientation : int * Android.Views.SurfaceOrientation -> unit

Parameters

display
Int32

The System.Int32 value used for display.

orientation
SurfaceOrientation

The Android.Views.SurfaceOrientation value used for orientation.

Attributes

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.

Applies to