Sdílet prostřednictvím


Surface.SetOrientation(Int32, SurfaceOrientation) Method

Definition

[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
orientation
SurfaceOrientation
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