Stop receiving button status change events.
#include <bps/button.h>
BPS_API int button_stop_events(int flags)
BlackBerry 10.0.0
The types of events to stop. A value of zero indicates that all events are stopped. Any non-zero values are reserved for future use.
The button_stop_events() function stops physical button status change events from being delivered to the application using BPS.
BPS_SUCCESS upon success or BPS_FAILURE with errno set.