screen_input_guard_disable()

Disable Screen Input Guard.

Synopsis:

#include <bps/screen_input_guard.h>
 
BPS_API int screen_input_guard_disable(void)

Since:

BlackBerry 10.2.0

Arguments:

Library:

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

Description:

The screen_input_guard_disable() function disables Screen Input Guard, once it has been called the same number of times as screen_input_guard_enable().

Calls to screen_input_guard_enable() and screen_input_guard_disable() are reference counted. Thus if you call screen_input_guard_enable() multiple times, you must call screen_input_guard_disable() the same number of times before Screen Input Guard is actually disabled.

Calling screen_input_guard_stop_events() will forcibly disable Screen Input Guard, ignoring the reference count.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus