Difference between revisions of "Geolocation.isHeadingAvailable"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<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>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
Returns [[Special:MyLanguage/true|true]] if the device has the capability to determine heading, [[Special:MyLanguage/false|false]] otherwise.<br />
+
Returns `true` if the device has the capability to determine heading, `false` otherwise.<br />
 
<br /></translate>
 
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
Line 9: Line 10:
 
</source>
 
</source>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
'''<translate>Returns</translate>''' (bool) <translate>[[Special:MyLanguage/true|true]] if heading is available, [[Special:MyLanguage/false|false]] otherwise</translate><br/>
+
'''<translate>Returns</translate>''' (bool) <translate>`true` if heading is available, `false` otherwise</translate><br/>

Revision as of 09:27, 24 August 2018

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