getNetworkLinkBandwidthKbps

fun Context.getNetworkLinkBandwidthKbps(): Pair<Int, Int>

Gets the current mobile network link's bandwidth. Note that this does not account for congestion, it is simply the max upload/download supported by the network.

Return

Pair(linkUpstreamBandwidthKbps, linkDownstreamBandwidthKbps)