Udostępnij za pośrednictwem


UiAutomationRotation Enum

Definition

Enumerates values returned by several types and taken as a parameter of the F:Android.App.UiAutomation.SetRotation member.

public enum UiAutomationRotation
type UiAutomationRotation = 
Inheritance
UiAutomationRotation

Fields

Name Value Description
Unfreeze -2

Rotation constant: Unfreeze rotation (rotating the device changes its rotation state).

FreezeCurrent -1

Rotation constant: Freeze rotation to its current state.

Freeze0 0
Freeze90 1

Rotation constant: Freeze rotation to 90 degrees .

Freeze180 2

Rotation constant: Freeze rotation to 180 degrees .

Freeze270 3

Rotation constant: Freeze rotation to 270 degrees .

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