Build 1.0_r1(from source)

android.webkit.gears
Class AndroidRadioDataProvider.RadioData

java.lang.Object
  extended by android.webkit.gears.AndroidRadioDataProvider.RadioData
Enclosing class:
AndroidRadioDataProvider

public static final class AndroidRadioDataProvider.RadioData
extends Object

Simple container for radio data


Field Summary
 String carrierName
           
 int cellId
           
 int homeMobileCountryCode
           
 int homeMobileNetworkCode
           
 int locationAreaCode
           
 int mobileCountryCode
           
 int mobileNetworkCode
           
 int radioType
           
 int signalStrength
           
 
Method Summary
static AndroidRadioDataProvider.RadioData getInstance(TelephonyManager telephonyManager, CellLocation cellLocation, int signalStrength, ServiceState serviceState)
          Constructs radioData object from the given telephony data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Method Detail

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.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature