Stop receiving Screen Input Guard events.
#include <bps/screen_input_guard.h>
BPS_API int screen_input_guard_stop_events(int flags)
BlackBerry 10.2.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 screen_input_guard_stop_events() function stops Screen Input Guard events from being delivered to the application using BPS. This will also forcibly disable Screen Input Guard if it was enabled with screen_input_guard_enable(), ignoring the the reference count between screen_input_guard_enable() and screen_input_guard_disable().
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.