bps_event_get_code()

Get the code of an event.

Synopsis:

#include <bps/event.h>
 
BPS_API unsigned int bps_event_get_code(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The event to get the code of.

Library:

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

Description:

The bps_event_get_code() function gets the code of a BPS event. In addition to being associated with a domain, each event in BPS has a code, which represents the specific type of event that occurred. For example, the virtual keyboard service includes event codes that indicate when the keyboard becomes visible, when the keyboard becomes hidden, and so on.

Returns:

The code of the event.

Last modified: 2014-05-14



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

comments powered by Disqus