Returns true if the device can track the heading using a digital compass, false otherwise.Syntax:
mobileCanTrackHeading()
Examples:
get mobileCanTrackHeading()
if mobileCanTrackHeading() is "true" then answer "The heading can be tracked" end if
Use the mobileCanTrackHeading function to check whether the device has the necessary hardware support for tracking the heading using a digital compass.
See also: mobileStartTrackingSensor (command),mobileSensorReading (function),trackingError (message),headingChanged (message),