This function has been deprecated.
#include <bps/netstatus.h>
BPS_API int netstatus_get_availability(bool *is_available) BPS_DEPRECATED
BlackBerry 10.2.0
If true the network is available, if false the network is not available.
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.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.