activities
latest
false
UiPath logo, featuring letters U and I in white

UI Automation Activities

Last updated Dec 4, 2024

GetDeviceOrientation

Retrieves the current orientation of the specified mobile device.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

GetDeviceOrientation(MobileOptions.GetDeviceOrientationOptions)

GetDeviceOrientation(
	    MobileOptions. GetDeviceOrientationOptions options = null
)GetDeviceOrientation(
	    MobileOptions. GetDeviceOrientationOptions options = null
)
options MobileOptions.GetDeviceOrientationOptions
Specifies the MobileOptions.GetDeviceOrientationOptions for the GetDeviceOrientation action. Default value is null.

Return value

ScreenOrientation

The orientation of the device, stored in a ScreenOrientation object.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.