PDL_GetLocation
Description
Sets the passed location struct with information about the device's current location. To activate GPS tracking, your application must call PDL_EnableLocationTracking before calling this function. Otherwise, nothing is returned in location.
Syntax
PDL_Err PDL_GetLocation(PDL_Location *location);
Returns
PDL_INVALIDINPUT -- location is null. PDL_UNINIT -- PDL_EnableLocationTracking has not been called first. PDL_NOTALLOWED -- The location service is not turned on. PDL_NOERROR -- Success.