Difference between revisions of "Geolocation.isHeadingAvailable"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | <languages /> | ||
'''<translate>Available since</translate>:''' Gideros 2012.8<br/> | '''<translate>Available since</translate>:''' Gideros 2012.8<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/Geolocation|Geolocation]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/Geolocation|Geolocation]]<br/> | ||
Line 6: | Line 7: | ||
Returns ''true'' if the device has the capability to determine heading, ''false'' otherwise.<br /> | Returns ''true'' if the device has the capability to determine heading, ''false'' otherwise.<br /> | ||
<br /></translate> | <br /></translate> | ||
− | < | + | <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}} |
Latest revision as of 14: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