Geolocation.isAvailable

From GiderosMobile
Revision as of 14:28, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")


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