Udostępnij za pośrednictwem


Settings.System.UserRotation Field

Definition

Default screen rotation when no other policy applies.

[Android.Runtime.Register("USER_ROTATION")]
public const string UserRotation;
[<Android.Runtime.Register("USER_ROTATION")>]
val mutable UserRotation : string

Field Value

Attributes

Remarks

Default screen rotation when no other policy applies. When #ACCELEROMETER_ROTATION is zero and no on-screen Activity expresses a preference, this rotation value will be used. Must be one of the android.view.Surface#ROTATION_0 Surface rotation constants.

Java documentation for android.provider.Settings.System.USER_ROTATION.

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