button_stop_events()

Stop receiving button status change events.

Synopsis:

#include <bps/button.h>
 
BPS_API int button_stop_events(int flags)

Since:

BlackBerry 10.0.0

Arguments:

flags

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.

Library:

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

Description:

The button_stop_events() function stops physical button status change events from being delivered to the application using BPS.

Returns:

BPS_SUCCESS upon success or BPS_FAILURE with errno set.