CDPotion.Domain.DeviceOrientation (cdpotion v0.1.4)

Summary

Functions

Clears the overridden Device Orientation.

Overrides the Device Orientation.

Functions

Link to this function

clear_device_orientation_override()

@spec clear_device_orientation_override() :: {String.t(), map()}

Clears the overridden Device Orientation.

Link to this function

set_device_orientation_override(alpha, beta, gamma)

@spec set_device_orientation_override(number(), number(), number()) ::
  {String.t(), map()}

Overrides the Device Orientation.

Parameters:

  • (Required) alpha: Mock alpha
  • (Required) beta: Mock beta
  • (Required) gamma: Mock gamma