setOrientation programatically adjusts the orientation of the virtual device.
setOrientation
- setOrientation: LANDSCAPE_LEFT
By default the virtual device will be launched in a portrait orientation. The following values are supported with this command:
PORTRAIT
LANDSCAPE_LEFT
LANDSCAPE_RIGHT
UPSIDE_DOWN
Last updated 5 months ago
Was this helpful?