geolocation_event_get_longitude()

Retrieve the longitude from a GEOLOCATION_INFO event.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

event

The GEOLOCATION_INFO event to extract the longitude from.

Library:

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

Description:

The geolocation_event_get_longitude() function extracts the longitude from the specified GEOLOCATION_INFO event.

Returns:

The longitude (in degrees). Positive values indicate east longitude and negative values indicate west longitude. 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