geolocation_set_stationary()

Set whether the location request should enable the stationary filter.

Synopsis:

#include <bps/geolocation.h>
 
BPS_API void geolocation_set_stationary(bool stationary)

Since:

BlackBerry 10.2.0

Arguments:

stationary

The stationary flag.

Library:

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

Description:

The geolocation_set_stationary() function sets the stationary flag of a location request, which uses the device's sensors to optimize power usage in case the device's physical location is not changing.

Returns:

Last modified: 2014-05-14



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

comments powered by Disqus