Difference between revisions of "Geolocation.isAvailable"

From GiderosMobile
Line 12: Line 12:
 
=== <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}}

Revision as of 21:59, 3 December 2019


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