MobiledgeX.LocationService Class Reference
Inheritance diagram for MobiledgeX.LocationService:

Public Types

enum  LocationStatus { LocationNotSupported , LocationPermissionNotAcquired , LocationPermissionRequested , LocationPermissionAcquired }
 

Static Public Member Functions

static IEnumerator EnsureLocation ()
 EnsureLocation Confirm that user location is valid, user location is essential for MobiledgeX services If Location permission is denied by User an exception will be thrown once RetrieveLocation() is called
 
static Loc RetrieveLocation ()
 Retrieve the lastest location, without restarting locationService. More...
 
static Timestamp ConvertTimestamp (double timeInSeconds)
 
static Loc ConvertUnityLocationToDMELoc (LocationInfo info)
 

Public Attributes

int timeOut = 20
 After initializing location services, this is the maximum wait time (in seconds) to acquire location info if the value selected is zero or less the default value (20 seconds) will be used.
 

Static Public Attributes

static LocationStatus locationStatus
 

Member Function Documentation

◆ RetrieveLocation()

static Loc MobiledgeX.LocationService.RetrieveLocation ( )
inlinestatic

Retrieve the lastest location, without restarting locationService.

Returns
Loc Object

The documentation for this class was generated from the following file: