Difference between revisions of "Geolocation.isAvailable"

From GiderosMobile
Line 3: Line 3:
 
=== Description ===
 
=== Description ===
 
<translate><br />
 
<translate><br />
Returns [[true` if the device has the capability to determine current location and this capability is enabled, `false]] otherwise.<br />
+
Returns [[true]] if the device has the capability to determine current location and this capability is enabled, [[false]] otherwise.<br />
 
<br /></translate>
 
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
Line 9: Line 9:
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (bool) <translate>[[true` if geolocation is available, `false]] otherwise</translate><br/>
+
'''Returns''' (bool) <translate>[[true]] if geolocation is available, [[false]] otherwise</translate><br/>

Revision as of 15:02, 23 August 2018

Available since: Gideros 2012.8

Description


Returns true if the device has the capability to determine current location and this capability is enabled, false otherwise.

(bool) = Geolocation.isAvailable()

Return values

Returns (bool) true if geolocation is available, false otherwise