Tungsten v0.1.0 Tungsten.CDP.DeviceOrientation View Source

DeviceOrientation

This domain has no documentation

Link to this section Summary

Link to this section Functions

Link to this function

clear_device_orientation_override(session, parameters \\ %{}, options \\ []) View Source
clear_device_orientation_override(
  GenServer.server(),
  map(),
  Tungsten.Connection.exec_options()
) :: {:ok, map()} | {:error, term()}

DeviceOrientation.clearDeviceOrientationOverride

Clears the overridden Device Orientation.

Link to this function

set_device_orientation_override(session, parameters, options \\ []) View Source
set_device_orientation_override(
  GenServer.server(),
  %{
    alpha: integer() | float(),
    beta: integer() | float(),
    gamma: integer() | float()
  },
  Tungsten.Connection.exec_options()
) :: {:ok, map()} | {:error, term()}

DeviceOrientation.setDeviceOrientationOverride

Overrides the Device Orientation.