geolocation_event_get_heading()

Retrieve the heading from a GEOLOCATION_INFO event.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

event

The GEOLOCATION_INFO event to extract the heading from.

Library:

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

Description:

The geolocation_event_get_heading() function extracts the heading from the specified GEOLOCATION_INFO event.

Returns:

The heading (in degrees). 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