RelativeHeading Gesture

This API enables the user to get updates describing the heading and roll angle of a mobile device.

Adtile Relative Heading

RelativeHeading is the rotation of the side of the device, left or right, about an axis running from top to bottom of the device. The RelativeHeading angle always starts at a value of 0 degrees. Tilting the device to the left causes the relative heading angle to increase, whereas tilting to the right causes the angle to increase.

The device axes are swapped from portrait and landscape modes so that the definition remains the same.