getNetworkCapabilities