Skip to main content

1E 8.1 (on-premises)

Mobile.IsGPSEnabled

Method

IsGPSEnabled

Module

Mobile

Library

Core

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.