geolocation_event_get_fix_type()

Retrieve the fix type from a GEOLOCATION_INFO event.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

event

The GEOLOCATION_INFO event that contains the fix type you want to extract.

Library:

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

Description:

The geolocation_event_get_fix_type() function extracts the fix type from the specified GEOLOCATION_INFO event.

Returns:

The fix type. This is either a value from the geolocation_fix_type_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