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

UI Automation activities

Last updated Feb 19, 2026

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
Trust and Security
© 2005-2026 UiPath. All rights reserved.