android.webkit.gears
Class AndroidRadioDataProvider.RadioData
java.lang.Object
android.webkit.gears.AndroidRadioDataProvider.RadioData
- Enclosing class:
- AndroidRadioDataProvider
public static final class AndroidRadioDataProvider.RadioData
- extends Object
Simple container for radio data
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cellId
public int cellId
locationAreaCode
public int locationAreaCode
signalStrength
public int signalStrength
mobileCountryCode
public int mobileCountryCode
mobileNetworkCode
public int mobileNetworkCode
homeMobileCountryCode
public int homeMobileCountryCode
homeMobileNetworkCode
public int homeMobileNetworkCode
radioType
public int radioType
carrierName
public String carrierName
getInstance
public static AndroidRadioDataProvider.RadioData getInstance(TelephonyManager telephonyManager,
CellLocation cellLocation,
int signalStrength,
ServiceState serviceState)
- Constructs radioData object from the given telephony data.
- Parameters:
telephonyManager - contains the TelephonyManager instance.cellLocation - contains information about the current GSM cell.signalStrength - is the strength of the network signal.serviceState - contains information about the network service.
- Returns:
- a new RadioData object populated with the currently
available network information or null if there isn't
enough information.
Please submit a feedback, bug or feature