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

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: 2013-12-21

comments powered by Disqus