geolocation_event_get_altitude()

Retrieve the altitude from a GEOLOCATION_EVENT event.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

event

The GEOLOCATION_INFO event to get the altitude from.

Library:

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

Description:

The geolocation_event_get_altitude() function extracts the altitude from the specified GEOLOCATION_INFO event.

Returns:

The altitude (in meters) above Mean Sea Level. 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