|
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 int com.hyphenate.util.NetUtils.getUploadBufSize |
( |
Context |
context | ) |
|
|
static |
for wifi connection, we use 100kbytes for write buffer for 3/4G connection, we use 20kbytes for grps, we use 1k
- Returns
static boolean com.hyphenate.util.NetUtils.hasNetwork |
( |
Context |
context | ) |
|
|
static |
Check the network connection is available
- Parameters
-
- Returns
static boolean com.hyphenate.util.NetUtils.isWifiConnection |
( |
Context |
context | ) |
|
|
static |
check the current network connection is wifi connection or not
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- hyphenatechatsdk/src/com/hyphenate/util/NetUtils.java