DeviceOrientation¶
This CDP domain is experimental.
Types¶
There are no types in this module.
Commands¶
Each command is a generator function. The return
type Generator[x, y, z] indicates that the generator
yields arguments of type x, it must be resumed with
an argument of type y, and it returns type z. In
this library, types x and y are the same for all
commands, and z is the return type you should pay attention
to. For more information, see
Getting Started: Commands.
-
cdp.device_orientation.clear_device_orientation_override()¶ Clears the overridden Device Orientation.
Return type: Generator[Dict[str,Any],Dict[str,Any],None]
-
cdp.device_orientation.set_device_orientation_override(alpha, beta, gamma)¶ Overrides the Device Orientation.
Parameters: - alpha (
float) – Mock alpha - beta (
float) – Mock beta - gamma (
float) – Mock gamma
Return type: Generator[Dict[str,Any],Dict[str,Any],None]- alpha (
Events¶
There are no events in this module.