bps_geomonitor_stop_events()

Stop receiving geomonitor events.

Synopsis:

#include <bps/geomonitor.h>
 
BPS_API int bps_geomonitor_stop_events(int flags)

Since:

BlackBerry 10.2.0

Arguments:

flags

The types of events to stop. A value of zero indicates that all events are stopped. The meaning of non-zero values is reserved for future use.

Library:

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

Description:

The bps_geomonitor_stop_events() function stops the delivery of geomonitor events to your application. If the application does not have the access_location_services capability, this function will fail.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.

Last modified: 2014-05-14



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

comments powered by Disqus