geomonitor_find_all_regions()

Search for all the regions (added by the application)

Synopsis:

#include <geomonitor.h>
 
geomonitor_error_t geomonitor_find_all_regions(region_names_list_t *region_names_list)

Since:

BlackBerry 10.2.0

Arguments:

region_names_list

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)

Description:

The list of region names is not sorted and not capped so this function has to be able to allocate enough memory to fit all the regions names.

This function makes a service request that blocks until the service responds.

Returns:

GEOMONITOR_OK if successful, an error from geomonitor_error_t otherwise.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus