Difference between revisions of "Geolocation.isAvailable"
From GiderosMobile
(7 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2012.8<br/> | + | <languages /> |
− | === Description === | + | '''<translate>Available since</translate>:''' Gideros 2012.8<br/> |
+ | '''<translate>Class</translate>:''' [[Special:MyLanguage/Geolocation|Geolocation]]<br/> | ||
+ | === <translate>Description</translate> === | ||
<translate><br /> | <translate><br /> | ||
− | Returns | + | 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"> | <source lang="lua"> | ||
(bool) = Geolocation.isAvailable() | (bool) = Geolocation.isAvailable() | ||
</source> | </source> | ||
− | === Return values === | + | === <translate>Return values</translate> === |
− | '''Returns''' (bool) <translate> | + | '''<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