Select your preferred scripting language. All code snippets will be displayed in this language.
Accuracy of heading reading in degrees.
Negative value mean unreliable reading. If accuracy is not supported or not available, 0 is returned. Not all platforms support this pricise accuracy, so the value may vary between few constant values.