Stop receiving geolocation events.
#include <bps/geolocation.h>
BPS_API int geolocation_stop_events(int flags)
BlackBerry 10.0.0
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.
The geolocation_stop_events() function stops the delivery of geolocation change events to your application. If the application does not have the read_geolocation capability, this function will fail.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.