geolocation_set_provider()

Set the location provider.

Synopsis:

#include <bps/geolocation.h>
 
BPS_API int geolocation_set_provider(geolocation_provider_t provider)

Since:

BlackBerry 10.0.0

Arguments:

provider

The provider to be used.

Library:

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

Description:

The geolocation_set_provider() function sets the location provider to use for geolocation information (see geolocation_provider_t). If you do not set a provider, the Hybrid provider is used by default.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.

Last modified: 2014-05-14



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

comments powered by Disqus