geolocation_set_period()

Set the period at which geolocation events are reported.

Synopsis:

#include <bps/geolocation.h>
 
BPS_API void geolocation_set_period(unsigned int period)

Since:

BlackBerry 10.0.0

Arguments:

period

The period (in seconds).

Library:

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

Description:

The geolocation_set_period() function sets the period (in seconds) at which geolocation events are reported. If the period is set to 0, a single geolocation event is delivered, and no more geolocation events are delivered subsequently.

Returns:

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus