Retrieve the error code from a GEOLOCATION_ERROR event.
#include <bps/geolocation.h>
BPS_API int geolocation_event_get_error_code(bps_event_t *event)
BlackBerry 10.0.0
The GEOLOCATION_ERROR event to get the error code from.
The geolocation_event_get_error_code() function gets the error code from the specified GEOLOCATION_ERROR event. The error is with regards to the previous geolocation request.
The error code. This is either a value from the geolocation_error_t enumeration, or BPS_FAILURE if the event is not valid.