Search for regions (added by the application) that are within the specified radius area around the current location (if available)
geomonitor_error_t geomonitor_search_nearby_regions(double radius, region_names_list_t *region_names_list)
The radius (in meters) of the search area.
The list of region names found. This parameter must be initialized to NULL when passed to this function. The calling code takes ownership of the list and must release it using geomonitor_region_names_list_destroy().
Library:libgeomonitor (For the qcc command, use the -l geomonitor option to link against this library)
The list of region names is sorted by proximity to the current location. The search area is bounded by the given radius. The number of the regions found is capped and regions located furthest from the current location are not returned.
If the current location is unavailable, this function returns GEOMONITOR_CURRENT_LOCATION_NOT_AVAILABLE.
This function makes a service request that blocks until the service responds.
Last modified: 2014-05-14