Method

IsGPSEnabled

ModuleMobile
LibraryCore
Action


Determine the GPS status of the device.


Parameters(None)
Return values

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

Example


 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.