Get the default gateway at the specified index from a network status structure.
#include <bps/netstatus.h>
BPS_API const char* netstatus_info_get_default_gateway(netstatus_info_t *info,
int index)
BlackBerry 10.2.0
The netstatus_info_t structure to get the default gateway from.
The index of the default gateway to get. Must be in the range 0 to netstatus_info_get_num_ip_gateways() - 1.
The netstatus_info_get_default_gateway() function gets the default gateway at the specified index from the specified netstatus_info_t structure.
The default gateway at the specified index, or NULL if the index is invalid.