This function has been deprecated.
#include <bps/netstatus.h>
BPS_API int netstatus_get_default_interface(char **interface) BPS_DEPRECATED
BlackBerry 10.2.0
This will be populated with the default interface. May be NULL if there is no default interface. The caller must call bps_free() when done with this string.
Deprecated:
This function has been deprecated - use netstatus_get_info(), netstatus_info_get_default_interface() and netstatus_free_info().
The netstatus_get_default_interface() function gets the default interface.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.