Geolocation.isHeadingAvailable: Difference between revisions
From GiderosMobile
m Text replacement - "<source" to "<syntaxhighlight" |
m Text replacement - "</source>" to "</syntaxhighlight>" |
||
| Line 9: | Line 9: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
(bool) = Geolocation.isHeadingAvailable() | (bool) = Geolocation.isHeadingAvailable() | ||
</ | </syntaxhighlight> | ||
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
'''<translate>Returns</translate>''' (bool) <translate>''true'' if heading is available, ''false'' otherwise</translate><br/> | '''<translate>Returns</translate>''' (bool) <translate>''true'' if heading is available, ''false'' otherwise</translate><br/> | ||
{{Geolocation}} | {{Geolocation}} | ||
Latest revision as of 13:29, 13 July 2023
Available since: Gideros 2012.8
Class: Geolocation
Description
Returns true if the device has the capability to determine heading, false otherwise.
(bool) = Geolocation.isHeadingAvailable()
Return values
Returns (bool) true if heading is available, false otherwise