Get the number of default gateways from a network status structure.
#include <bps/netstatus.h>
BPS_API int netstatus_info_get_num_default_gateways(netstatus_info_t *info)
BlackBerry 10.2.0
The netstatus_info_t structure to get the number of default gateways from.
The netstatus_info_get_num_default_gateways() function gets the number of default gateways from the specified netstatus_info_t structure. The index argument of netstatus_info_get_ip_gateway() must be less than this number.
The number of default gateways.