bps_geomonitor_event_get_service_event()

Retrieve the service event from a GEOMONITOR_INFO event.

Synopsis:

#include <bps/geomonitor.h>
 
BPS_API geomonitor_service_event_t bps_geomonitor_event_get_service_event(bps_event_t *event)

Since:

BlackBerry 10.2.0

Arguments:

event

The GEOMONITOR_INFO event to extract the provider from.

Library:

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

Description:

The bps_geomonitor_event_get_service_event() function extracts the event from the specified GEOMONITOR_INFO event. Function will return NULL if an error occured during the geomonitor event. Error code or error description can be extracted via bps_geomonitor_event_get_error_code() and bps_geomonitor_event_get_error_message() functions respectively.

Returns:

The geomonitor service event. This is a value of geomonitor_service_event_t type that is defined in the geomonitor.h header. This header file also provides all the getters functions to extract the event fields, like location or properties of the monitored area.

Last modified: 2014-05-14



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

comments powered by Disqus