geo_search_boundary_next()

Return the next search boundary.

Synopsis:

#include <geo_search.h>
geo_search_boundary_t geo_search_boundary_next(geo_search_boundary_t current)

Since:

BlackBerry 10.1.0

Arguments:

current

Specifies the current boundary from which the next boundary is determined. Use GEO_SEARCH_BOUNDARY_NONE the first time you call this function.

Library:

libgeo_search (For the qcc command, use the -l geo_search option to link against this library)

Description:

This function is provided as a convenience for cycling through the possible search boundaries. The following is an example of using this function:

      for (boundary = geo_search_boundary_next(GEO_SEARCH_BOUNDARY_NONE); geo_search_boundary_valid(boundary); boundary = geo_search_boundary_next(boundary) ) {
          printf("geo_search_reverse_geocode() using boundary %s...\n", geo_search_boundary_name(boundary));
      }

Returns:

The next search boundary.