bps_geomonitor_event_get_error_code()

Retrieve the error code from a GEOMONITOR_ERROR event.

Synopsis:

#include <bps/geomonitor.h>
 
BPS_API geomonitor_error_t bps_geomonitor_event_get_error_code(bps_event_t *event)

Since:

BlackBerry 10.2.0

Arguments:

event

The GEOMONITOR_ERROR event to get the error code from.

Library:

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

Description:

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.

Returns:

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.

Last modified: 2014-05-14



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

comments powered by Disqus