|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--net.rim.device.api.system.GPRSInfo
Contains General Packet Radio Service (GPRS) radio information.
| Inner Class Summary | ||
static class |
GPRSInfo.GPRSCellInfo
Encapsulates information for a General Packet Radio Service (GPRS) cell. |
|
| Field Summary | ||
static int |
GPRS_STATE_IDLE
Represents the GPRS "idle" radio state. |
|
static int |
GPRS_STATE_READY
Represents the GPRS "ready" radio state. |
|
static int |
GPRS_STATE_STANDBY
Represents the GPRS "standby" radio state. |
|
| Method Summary | ||
static GPRSInfo.GPRSCellInfo |
getCellInfo()
Retrieves information on the current cell. |
|
static int |
getGPRSState()
Retrieves the current GPRS state. |
|
static int |
getHomeMCC()
Retrieves Mobile Country Code for the home network. |
|
static int |
getHomeMNC()
Retrieves Mobile Network Code for the home network. |
|
static byte[] |
getIMEI()
Retrieves the International Mobile Equipment Identity (IMEI) of the device. |
|
static byte[] |
getIMEISV()
Retrieves the International Mobile Equipment Identity and Software Version (IMEISV) of the device. |
|
static String |
getRegistrationAddress()
Deprecated. This method always returns null. |
|
static String |
getZoneName()
Retrieves the zone name. |
|
static String |
imeisvToString(byte[] imeisv,
boolean addPeriods)
Converts the International Mobile Equipment Identity (with) Software Version (IMEISV) value to a string. |
|
static String |
imeiToString(byte[] imei)
Converts the International Mobile Equipment Identity (IMEI) value to a string. |
|
static String |
imeiToString(byte[] imei,
boolean addPeriods)
Converts the International Mobile Equipment Identity (IMEI) value to a string. |
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int GPRS_STATE_IDLE
In this state, the radio is detached from the network.
public static final int GPRS_STATE_READY
In this state, the radio is attached to the network, and can send and receive packets.
public static final int GPRS_STATE_STANDBY
In this state, the network must page the radio to prepare it to receive a downlink packet.
| Method Detail |
public static GPRSInfo.GPRSCellInfo getCellInfo()
public static int getGPRSState()
GPRS_STATE_IDLE,
GPRS_STATE_STANDBY, or
GPRS_STATE_READY.public static int getHomeMCC()
public static int getHomeMNC()
public static byte[] getIMEI()
public static byte[] getIMEISV()
public static String getRegistrationAddress()
public static String getZoneName()
public static String imeisvToString(byte[] imeisv, boolean addPeriods)
imeisv - IMEISV value.addPeriods - If true, the id will be delimited by periods.public static String imeiToString(byte[] imei)
imei - IMEI value.public static String imeiToString(byte[] imei, boolean addPeriods)
imei - IMEI value.addPeriods - If true, the id will be delimited by periods.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2009 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.