screen_event_get_context()

Get the libscreen context from a BPS event.

Synopsis:

#include <bps/screen.h>
 
BPS_API screen_context_t screen_event_get_context(bps_event_t *event)

Since:

BlackBerry 10.2.0

Arguments:

event

The event to extract the libscreen screen_context_t from.

Library:

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

Description:

The screen_event_get_context() function extracts the libscreen screen_context_t that is stored within a BPS context. This is the screen context that the event applies to, which is the same context that was passed into screen_request_events().

Returns:

The libscreen screen_context_t.