public abstract class

FourGBaseStationInfo

extends Object
implements Parcelable
java.lang.Object
   ↳ com.htc.net.FourG.FourGBaseStationInfo
Known Direct Subclasses
Known Indirect Subclasses

Summary

Nested Classes
enum FourGBaseStationInfo.eFOURG_MODULATION  
enum FourGBaseStationInfo.eNSP_NETWORK_TYPE  
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
protected float altitude
protected String bsid
protected int cinr
protected boolean connected
protected long dlFrequency
protected float latitude
protected float longitude
protected long nspId
protected String nspName
protected FourGBaseStationInfo.eNSP_NETWORK_TYPE nspNetworkType
protected int rssi
protected int rtd
protected int rtdMeasurementAge
protected int rtdMeasurementError
protected long ulFrequency
Public Constructors
FourGBaseStationInfo()
FourGBaseStationInfo(FourGBaseStationInfo bsInfo)
Public Methods
void clear()
clear current data
float getAltitude()
Returns the altitude of the base station in meters.
String getBSID()
Returns Base Station ID.
int getCINR()
Returns the current CINR, in dB, if this class instance is describing the connected, serving BS.
abstract FourGBaseStationInfo.eFOURG_MODULATION getDownlinkModulation()
Return the current BS-to-MS modulation in use.
long getFrequencyDownlink()
Returns the center frequency in kHz of the channel over which the Base Station would transmit to the Mobile Station.
long getFrequencyUplink()
Returns the center frequency in kHz of the channel over which the Mobile Station would transmit to the Base Station.
float getLatitude()
Returns the latitude of the base station.
float getLongitude()
Returns the longitude of the base station.
FourGBaseStationInfo.eNSP_NETWORK_TYPE getNetworkType()
Returns one of the following value of the enum eNSP_NETWORK_TYPE.
long getNspId()
Returns the NSP ID, if the class instance is describing the connected, serving BS, where NSP stands for Network Service Provider which is an organization providing Layer 3 services to a subscriber which allows that subscriber to gain access to the PDN (Public Data Network).
String getNspName()
Returns the NSP name string.
int getRSSI()
Returns the current RSSI, in dBm, if this class instance is describing the connected, serving BS.
int getRTD()
Returns RTD measured in nanoseconds.
int getRTDMeasurementAge()
Returns number of milliseconds since the round trip time was last sensed and computed.
int getRTDMeasurementError()
Returns implementation's estimate of error in RTD measured, in nanoseconds.
abstract FourGBaseStationInfo.eFOURG_MODULATION getUplinkModulation()
Return the current MS-to-BS modulation in use.
boolean isConnected()
Returns if this base station is the serving base station.
void readFromParcel(Parcel in)
void setAltitude(float altitude)
void setBSID(String bsid)
void setCINR(int cinr)
void setConnected(boolean connected)
void setFrequencyDownlink(long dlFrequency)
void setFrequencyUplink(long ulFrequency)
void setLatitude(float latitude)
void setLongitude(float longtitude)
void setNetworkType(FourGBaseStationInfo.eNSP_NETWORK_TYPE nspNetworkType)
void setNspId(long nspId)
void setNspName(String nspName)
void setRSSI(int rssi)
void setRTD(int rtd)
void setRTDMeasurementAge(int rtdMeasurementAge)
void setRTDMeasurementError(int rtdMeasurementError)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

protected float altitude

protected String bsid

protected int cinr

protected boolean connected

protected long dlFrequency

protected float latitude

protected float longitude

protected long nspId

protected String nspName

protected FourGBaseStationInfo.eNSP_NETWORK_TYPE nspNetworkType

protected int rssi

protected int rtd

protected int rtdMeasurementAge

protected int rtdMeasurementError

protected long ulFrequency

Public Constructors

public FourGBaseStationInfo ()

public FourGBaseStationInfo (FourGBaseStationInfo bsInfo)

Public Methods

public void clear ()

clear current data

public float getAltitude ()

Returns the altitude of the base station in meters. If this is not available Float.MIN_VALUE is returned.

public String getBSID ()

Returns Base Station ID. Format is a string of hexadecimal - no spaces, no "0x" or any prefix.

public int getCINR ()

Returns the current CINR, in dB, if this class instance is describing the connected, serving BS. Valid only if the class instance is describing the serving/connected BS. If not connected as serving BS, Integer.MIN_VALUE shall be returned

public abstract FourGBaseStationInfo.eFOURG_MODULATION getDownlinkModulation ()

Return the current BS-to-MS modulation in use. Valid only if the class instance is describing the serving/connected BS. If not connected as serving BS, -1 shall be returned

public long getFrequencyDownlink ()

Returns the center frequency in kHz of the channel over which the Base Station would transmit to the Mobile Station.

public long getFrequencyUplink ()

Returns the center frequency in kHz of the channel over which the Mobile Station would transmit to the Base Station.

public float getLatitude ()

Returns the latitude of the base station. If this is not available Float.MIN_VALUE is returned.

public float getLongitude ()

Returns the longitude of the base station. If this is not available Float.MIN_VALUE is returned.

public FourGBaseStationInfo.eNSP_NETWORK_TYPE getNetworkType ()

Returns one of the following value of the enum eNSP_NETWORK_TYPE. Only available if the class instance is for the serving BS; call isConnected() to determine. Valid only if the class instance is describing the serving/connected BS. If not connected as serving BS, NSP_NETWORK_TYPE_UNKNOW shall be returned

public long getNspId ()

Returns the NSP ID, if the class instance is describing the connected, serving BS, where NSP stands for Network Service Provider which is an organization providing Layer 3 services to a subscriber which allows that subscriber to gain access to the PDN (Public Data Network). An example of this would be an ISP (Internet Service Provider) providing subscribers with connectivity to the Internet by using 4G data network service. Valid only if the class instance is describing the serving/connected BS. If not connected as serving BS, -1 shall be returned

public String getNspName ()

Returns the NSP name string. This is typically needed after a wide-scan so that a FourGConfiguration object may be prepared and FourGmanager.addNetwork() may be called to add this network to the set of networks under management. Valid only if the class instance is describing the serving/connected BS. If not connected as serving BS, a zero length string shall be returned

public int getRSSI ()

Returns the current RSSI, in dBm, if this class instance is describing the connected, serving BS. Valid only if the class instance is describing the serving/connected BS. If not connected as serving BS, Integer.MIN_VALUE shall be returned

public int getRTD ()

Returns RTD measured in nanoseconds. If RTD is not available -1 is returned.

public int getRTDMeasurementAge ()

Returns number of milliseconds since the round trip time was last sensed and computed. If round trip measurement is not available then -1 is returned.

public int getRTDMeasurementError ()

Returns implementation's estimate of error in RTD measured, in nanoseconds. If RTD is not available -1 is returned.

public abstract FourGBaseStationInfo.eFOURG_MODULATION getUplinkModulation ()

Return the current MS-to-BS modulation in use. Valid only if the class instance is describing the serving/connected BS. If not connected as serving BS, -1 shall be returned

public boolean isConnected ()

Returns if this base station is the serving base station.

public void readFromParcel (Parcel in)

public void setAltitude (float altitude)

public void setBSID (String bsid)

public void setCINR (int cinr)

public void setConnected (boolean connected)

public void setFrequencyDownlink (long dlFrequency)

public void setFrequencyUplink (long ulFrequency)

public void setLatitude (float latitude)

public void setLongitude (float longtitude)

public void setNetworkType (FourGBaseStationInfo.eNSP_NETWORK_TYPE nspNetworkType)

public void setNspId (long nspId)

public void setNspName (String nspName)

public void setRSSI (int rssi)

public void setRTD (int rtd)

public void setRTDMeasurementAge (int rtdMeasurementAge)

public void setRTDMeasurementError (int rtdMeasurementError)

public String toString ()

Since: API Level