device_orientation
clear_device_orientation_override()
Clears the overridden Device Orientation.
Source code in zendriver/cdp/device_orientation.py
set_device_orientation_override(alpha, beta, gamma)
Overrides the Device Orientation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
alpha
|
float
|
Mock alpha |
required |
beta
|
float
|
Mock beta |
required |
gamma
|
float
|
Mock gamma |
required |