Retrieve the error code from a GEOMONITOR_ERROR event.
#include <bps/geomonitor.h>
BPS_API geomonitor_error_t bps_geomonitor_event_get_error_code(bps_event_t *event)
BlackBerry 10.2.0
The GEOMONITOR_ERROR event to get the error code from.
The bps_geomonitor_event_get_error_code() function gets the error code from the specified GEOMONITOR_ERROR event. The error is with regards to the received geomonitor event and is returned by geomonitor service.
The error code. This is either a value from the Geomonitor library's geomonitor_error_t enumeration, or BPS_FAILURE if the event is not valid.