Package com.secoo.coobox.library.util.network

Functions

getActiveNetworkInfo
Link copied to clipboard
private fun Context.getActiveNetworkInfo(): NetworkInfo?
获取活动网路信息
isNetworkAvailable
Link copied to clipboard
fun Context?.isNetworkAvailable(): Boolean
判断当前网络是否可用
isNetworkNotAvailable
Link copied to clipboard
fun Context?.isNetworkNotAvailable(): Boolean
判断当前网络是否不可用