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.
#include <geomonitor.h>
geomonitor_error_t geomonitor_region_set_stop_monitoring_event(geomonitor_region_t region, geomonitor_event_type_t stop_monitoring_event)
BlackBerry 10.2.0
A handle to the geomonitor region to be removed when the specified event occurs.
The type of event that stops region monitoring and triggers its removal.
GEOMONITOR_OK if successful, an error from geomonitor_error_t otherwise.