|
enum | LocationStatus { LocationNotSupported
, LocationPermissionNotAcquired
, LocationPermissionRequested
, LocationPermissionAcquired
} |
|
|
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) |
|
|
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 LocationStatus | locationStatus |
|
◆ 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:
- sdk/Runtime/Scripts/LocationService.cs