bps_event_get_domain()

Get the domain of an event.

Synopsis:

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

Arguments:

event
The event to get the domain of.

Library:

libbps

Description:

The bps_event_get_domain() function gets the domain of a BPS event. Each event in BPS is associated with a domain, which represents the service that generated the event (for example, navigator, network status, accelerometer, and so on).

Returns:

The domain of the event.