geomonitor_service_event_get_location()

Return the location where the geomonitor event occurred.

Synopsis:

#include <geomonitor.h>
 
geomonitor_error_t geomonitor_service_event_get_location(geomonitor_service_event_t event, geomonitor_geolocation_t *location)

Since:

BlackBerry 10.2.0

Arguments:

event

A geomonitor event.

location

The location of the event. This parameter must be initialized to NULL.

Library:

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

Description:

Ownership of region is not transferred to the caller.

Returns:

GEOMONITOR_OK if successful, an error from geomonitor_error_t otherwise.

Last modified: 2014-05-14



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

comments powered by Disqus