geolocation_event_is_coarse()

Indicate whether the geolocation data is coarse from a GEOLOCATION_INFO event.

Synopsis:

#include <bps/geolocation.h>
 
BPS_API bool geolocation_event_is_coarse(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The GEOLOCATION_INFO event to get the coarse flag from.

Library:

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

Description:

The geolocation_event_is_coarse() function indicates whether the geolocation data from the specified GEOLOCATION_INFO event is coarse. For example, Wi-Fi or cellular sites provide coarse data, while GPS or GLONASS can provide coarse or fine data.

Returns:

true if the geolocation data is coarse, false otherwise.

Last modified: 2014-05-14



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

comments powered by Disqus