geolocation_set_background()

Set whether or not geolocation events will be sent while device is in standby.

Synopsis:

#include <bps/geolocation.h>
 
BPS_API void geolocation_set_background(bool background)

Since:

BlackBerry 10.0.0

Arguments:

background

True means to allow in standby, otherwise disallow.

Library:

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

Description:

The geolocation_set_background() function sets whether or not requests are allowed to run with the device in standby (i.e. screen off).

Returns:

Last modified: 2014-05-14



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

comments powered by Disqus