geomonitor_region_set_expiration()

Set an expiration time for the monitored region.

Synopsis:

#include <geomonitor.h>
 
geomonitor_error_t geomonitor_region_set_expiration(geomonitor_region_t region, time_t expiration)

Since:

BlackBerry 10.2.0

Arguments:

region

A handle to the geomonitor region whose expiration time is being set.

expiration

This is the UTC time after which the region expires. Pass 0 to set the region to have no expiry.

Library:

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

Description:

Once a region expires, it is removed from the list of monitored regions. By default, regions are set to never expire.

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