Difference between revisions of "Geolocation.isAvailable"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
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">
+
<syntaxhighlight lang="lua">
 
(bool) = Geolocation.isAvailable()
 
(bool) = Geolocation.isAvailable()
</source>
+
</syntaxhighlight>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (bool) <translate>''true'' if geolocation is available, ''false'' otherwise</translate><br/>
 
'''<translate>Returns</translate>''' (bool) <translate>''true'' if geolocation is available, ''false'' otherwise</translate><br/>
  
 
{{Geolocation}}
 
{{Geolocation}}

Latest revision as of 15:29, 13 July 2023


Available since: Gideros 2012.8
Class: Geolocation

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