Skip to main content

Set Mobile Screen Orientation

Command description​

Rotates the mobile device screen to landscape or portrait orientation.

Command Input Parameters​

input parametersInput parameter typeDescription
Mobile Device ObjectPhoneConnected mobile object
Screen OrientationenumLandscape, Portrait

Command Output Parameters​

None

Type definition reference​

tip

Enable Developer options on the mobile device, then connect it to the computer with a USB cable. See Connect Mobile Device

FAQ​

See Mobile Automation FAQ