public class CBReachability
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
CBReachability.CBNetworkType
Enum class to indicate the type of network available on the device.
|
| Constructor and Description |
|---|
CBReachability() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCellularConnectionType() |
int |
getConnectionTypeFromActiveNetwork()
Retrieve connection type from active network
|
int |
getOpenRTBConnectionType()
Return OpenRTB expected values for connection type
Unknown = 0;
Ethernet = 1;
WIFI = 2;
Cellular_Unknown = 3;
Cellular_2G = 4;
Cellular_3G = 5;
Cellular_4G = 6;
|
boolean |
isNetworkAvailable()
Network availability getter method
|
public int getConnectionTypeFromActiveNetwork()
public int getOpenRTBConnectionType()
public int getCellularConnectionType()
public boolean isNetworkAvailable()