netstatus_get_availability()

This function has been deprecated.

Synopsis:

#include <bps/netstatus.h>
 
BPS_API int netstatus_get_availability(bool *is_available) BPS_DEPRECATED

Since:

BlackBerry 10.2.0

Arguments:

is_available

If true the network is available, if false the network is not available.

Library:

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

Description:

Deprecated:

This function has been deprecated - use netstatus_get_info(), netstatus_info_get_availability() and netstatus_free_info().

The netstatus_get_availability() function indicates whether a network connection is available.

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