geomonitor_find()

Find the region with the given name in the monitored regions list.

Synopsis:

#include <geomonitor.h>
 
geomonitor_error_t geomonitor_find(const char *region_name, geomonitor_region_t *region)

Since:

BlackBerry 10.2.0

Arguments:

region_name

The unique region name to search for.

region

If region_name is found, this is a geomonitor_region_t containing a copy of the region.

Library:

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

Description:

If the region is found, a copy of it is returned via the region parameter. The caller is responsible for releasing the region.

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