geo_search_boundary_valid()

Check whether the specified search boundary is valid.

Synopsis:

#include <geo_search.h>
int geo_search_boundary_valid(geo_search_boundary_t boundary)

Since:

BlackBerry 10.0.0

Arguments:

boundary

The boundary to check.

Library:

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

Description:

A boundary is valid if it is one of the values from geo_search_boundary_t.

This is a convenience function intended for use with geo_search_boundary_next().

Returns:

GEO_SEARCH_BOUNDARY_NONE if not valid, a valid search boundary otherwise.