hyphenate_SDK3.0
3.0.1
hyphenatejavaIMSDK
|
静态 Public 成员函数 | |
static boolean | hasNetwork (Context context) |
static boolean | hasDataConnection (Context context) |
static boolean | isWifiConnection (Context context) |
static int | getUploadBufSize (Context context) |
static int | getDownloadBufSize (Context context) |
static String | getNetworkType (Context context) |
|
static |
for wifi connection, we use 100kbytes for write buffer for 3/4G connection, we use 20kbytes for grps, we use 1k
|
static |
Check the network connection is available
context |
|
static |
check the current network connection is wifi connection or not
context |