Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Made more generic than just Chromebooks

...

Method

IsGPSEnabled

ModuleMobile
LibraryCore
Action


Excerpt
Determine the GPS status of this device.


Parameters(None)
Return values

GPSEnabled (boolean): Indicates whether Whether GPS is enabled active on this the device.

Example


Code Block
languageperl
 Mobile.IsGPSEnabled();


Platforms
  • Android
Notes

No current Chromebook has the GPS hardware, so this question will always return false for Chromebook. However a Chromebook Always returns false for devices that have no GPS hardware. However such devices can display location by using the network location.

...