device_orientation
Set the screen orientation of an Android device. PORTRAIT and LANDSCAPE mirror ios_orientation; PORTRAIT_REVERSE and LANDSCAPE_REVERSE are the 180°-turned variants and have no iOS counterpart. Turns AUTO-ROTATE OFF as a side effect, and leaves it off — otherwise the accelerometer overrides the setting the moment the device is moved and the call looks like it silently did nothing. Returns once the stream has reported the new frame size, so the next device_tap is mapped against the new shape rather than the old one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | Device serial number (UDID) | |
| orientation | Yes | Target orientation |