cdp_driver/methods/device_orientation.rs
1// @generated by `just generate-methods` from protocol/*.json.
2// Do not edit by hand; edit xtask/ and regenerate.
3
4//! The `DeviceOrientation` domain.
5//!
6//! Method names for the `DeviceOrientation` domain, for use with
7//! [`CdpClient::call`](crate::CdpClient::call).
8//!
9//! This domain is experimental and may change without notice.
10
11/// Clears the overridden Device Orientation.
12pub const CLEAR_DEVICE_ORIENTATION_OVERRIDE: &str =
13 "DeviceOrientation.clearDeviceOrientationOverride";
14
15/// Overrides the Device Orientation.
16///
17/// Parameters:
18/// - `alpha`: number
19/// - `beta`: number
20/// - `gamma`: number
21pub const SET_DEVICE_ORIENTATION_OVERRIDE: &str = "DeviceOrientation.setDeviceOrientationOverride";