screen_input_guard_get_domain()

Get the unique domain ID for the Screen Input Guard service.

Synopsis:

#include <bps/screen_input_guard.h>
 
BPS_API int screen_input_guard_get_domain(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_get_domain() function gets the unique domain ID for the Screen Input Guard service. You can use this function in your application to test whether an event that you retrieve using bps_get_event() is a Screen Input Guard event, and respond accordingly.

Returns:

The domain ID for the Screen Input Guard service.