geolocation_event_get_accuracy()

Retrieve the accuracy of the latitude and longitude from a GEOLOCATION_INFO event.

Synopsis:

#include <bps/geolocation.h>
 
BPS_API double geolocation_event_get_accuracy(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The GEOLOCATION_INFO event to get the accuracy from.

Library:

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

Description:

The geolocation_event_get_accuracy() function extracts the accuracy of the latitude and longitude from the specified GEOLOCATION_INFO event.

Returns:

The accuracy of the latitude and longitude (in meters). Will be not-a-number (NaN) if not valid.

Last modified: 2014-05-14



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

comments powered by Disqus