Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Got rid of a blank line

Method

IsGPSEnabled

ModuleMobile
LibraryCore
Action


Excerpt
Determine the GPS status of this device.


Parameters(None)
Return values

GPSEnabled (boolean): Whether GPS is active on the device.

Example


Code Block
languageperl
 Mobile.IsGPSEnabled();


Platforms
  • Android
Notes

Always returns false for devices that have no GPS hardware. However such devices can display location by using the network location.