Set an expiration time for the monitored region.
#include <geomonitor.h>
geomonitor_error_t geomonitor_region_set_expiration(geomonitor_region_t region, time_t expiration)
BlackBerry 10.2.0
A handle to the geomonitor region whose expiration time is being set.
This is the UTC time after which the region expires. Pass 0 to set the region to have no expiry.
Once a region expires, it is removed from the list of monitored regions. By default, regions are set to never expire.
GEOMONITOR_OK if successful, an error from geomonitor_error_t otherwise.