region_stop_events()

Stop receiving region status change events.

Synopsis:

#include <bps/region.h>
 
BPS_API int region_stop_events(int flags)

Since:

BlackBerry 10.0.0

Arguments:

flags

The types of events to stop delivering to the application. 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 region_stop_events() function stops region status change events from being delivered to the application using BPS.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.