geomonitor_region_set_stop_monitoring_event()

Specify a type of geomonitor event that, upon occurring, stops region monitoring and triggers the region to be removed from the list of monitored regions.

Synopsis:

#include <geomonitor.h>
 
geomonitor_error_t geomonitor_region_set_stop_monitoring_event(geomonitor_region_t region, geomonitor_event_type_t stop_monitoring_event)

Since:

BlackBerry 10.2.0

Arguments:

region

A handle to the geomonitor region to be removed when the specified event occurs.

stop_monitoring_event

The type of event that stops region monitoring and triggers its removal.

Library:

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

Description:

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