public final class JMENetUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
PACKET_DATA_3G
Packet data in a 3G network.
|
static int |
PACKET_DATA_CSD
Packet data in a circuit-switched data connection (like an old-school
model telephone call over the mobile network).
|
static int |
PACKET_DATA_EDGE
Packet data in an EDGE network (2.5G, same frequencies as GSM but with
better software in the cell network allowing somewhat faster data rates)
|
static int |
PACKET_DATA_GSM
Packet data in a GSM network (2G)
|
static int |
PACKET_DATA_HSDPA
Packet data in a 3G HSDPA network or faster (Usually 3.5G, same
frequencies as 3G but with better software in the cell network allowing
for faster downstream data)
|
static int |
PACKET_DATA_PAN
Packet data over a Bluetooth Personal Area Network (PAN).
|
static int |
PACKET_DATA_UNKNOWN
Either the network is not available, or the phone can not determine the
network availability, or (may vary by device) the phone can not determine
the network availability yet because you have have yet used the network.
|
static int |
PACKET_DATA_WLAN
Packet data over a WIFI or WIMAX network.
|
Constructor and Description |
---|
JMENetUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
getCurrentDataNetwork()
Return an integer constant indicating the type of data network the phone
is attached to.
|
public static final int PACKET_DATA_UNKNOWN
public static final int PACKET_DATA_GSM
public static final int PACKET_DATA_EDGE
public static final int PACKET_DATA_3G
public static final int PACKET_DATA_HSDPA
public static final int PACKET_DATA_CSD
public static final int PACKET_DATA_PAN
public static final int PACKET_DATA_WLAN