Version: 6
restore

Contents

Method

IsGPSEnabled

ModuleMobile
LibraryCore
Action

Determine the GPS status of this device.

Parameters(None)
Return values

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

Example
 Mobile.IsGPSEnabled();
Platforms
  • Android
Notes

No current Chromebook has the GPS hardware, so this question will always return false for Chromebook. However a Chromebook can display location by using the network location.