getNetworkCapabilities

Get NetworkCapabilities.

See also

Throws

Throw exception if there is no permission for ACCESS_NETWORK_STATE.