geomonitor_service_get_fd()

Return a file descriptor for the geomonitor service.

Synopsis:

#include <geomonitor.h>
 
geomonitor_error_t geomonitor_service_get_fd(geomonitor_service_t geomonitor, int *service_fd)

Since:

BlackBerry 10.2.0

Arguments:

geomonitor

A handle to the geomonitor service.

service_fd

A file descriptor to the geomonitor service.

Library:

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

Description:

Ownership of service_fd 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