geolocation_event_get_error_code()

Retrieve the error code from a GEOLOCATION_ERROR event.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

event

The GEOLOCATION_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 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.

Returns:

The error code. This is either a value from the geolocation_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