getNetWorkInfo

internal fun getNetWorkInfo(context: Context): NetworkInfo?

Get NetworkInfo.

See also

Throws

Throw exception if there is no permission for ACCESS_NETWORK_STATE.