Difference between revisions of "Geolocation.isAvailable"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.8<br/> === Description === <br /> Returns `true` if the device has the capability to determine current location and this capabili...") |
|||
Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (bool) | + | (bool) = Geolocation.isAvailable() |
</source> | </source> | ||
'''Returns''' (bool) `true` if geolocation is available, `false` otherwise<br/> | '''Returns''' (bool) `true` if geolocation is available, `false` otherwise<br/> |
Revision as of 10:21, 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()
Returns (bool) `true` if geolocation is available, `false` otherwise