screen_input_guard_request_events()

Start receiving Screen Input Guard events.

Synopsis:

#include <bps/screen_input_guard.h>
 
BPS_API int screen_input_guard_request_events(int flags)

Since:

BlackBerry 10.2.0

Arguments:

flags

The types of events to deliver. A value of zero indicates that all events are requested. 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 screen_input_guard_request_events() function starts to deliver Screen Input Guard events to the application using BPS. Events are posted to the currently active channel. They are only delivered while Screen Input Guard is enabled with screen_input_guard_enable().

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