absolute property

Returns true if absolute values for the alpha, beta, and gamma device orientation properties are provided, and false otherwise.

This property is read-only.




ptr = object.absolute


Property values

Type: boolean

Standards information


Absolute values are those which specify the orientation of the host device in relation to a coordinate frame fixed on the Earth. Specifically, this Earth coordinate frame has the following three axes:

  • East (X) is in the ground plane, perpendicular to the North axis and positive towards the East
  • North (Y) is in the ground plane and positive towards True North (towards the North Pole).
  • Up (Z) is perpendicular to the ground plane and positive upwards.

These X, Y, and Z axes correspond to the beta, gamma, and alpha properties of the DeviceOrientationEvent, respectively.

See also