Difference between revisions of "Geolocation.isAvailable"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
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> | ||
− | < | + | <syntaxhighlight lang="lua"> |
(bool) = Geolocation.isAvailable() | (bool) = Geolocation.isAvailable() | ||
</source> | </source> |
Revision as of 14:28, 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.
<syntaxhighlight lang="lua">
(bool) = Geolocation.isAvailable()
</source>
Return values
Returns (bool) true if geolocation is available, false otherwise