Get the code of an event.
BPS_API unsigned int bps_event_get_code(bps_event_t *event)
The event to get the code of.
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.
The code of the event.