geomonitor_region_get_expiration()

Return the expiration time of a region.

Synopsis:

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

Since:

BlackBerry 10.2.0

Arguments:

region

A handle to the geomonitor region.

expiration

This is the UTC time after which the region expires. A value of 0 means that the region does not expire.

Library:

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

Description:

The expiration time is the UTC time after which the region expires. Once a region expires, it is removed from the monitored regions list.

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