Methods Summary |
---|
public static android.net.WifiLinkQualityInfo | createFromParcelBody(android.os.Parcel in)
WifiLinkQualityInfo li = new WifiLinkQualityInfo();
li.initializeFromParcel(in);
li.mType = in.readInt();
li.mRssi = in.readInt();
li.mTxGood = in.readLong();
li.mTxBad = in.readLong();
li.mBssid = in.readString();
return li;
|
public java.lang.String | getBssid()returns BSSID of the access point
return mBssid;
|
public int | getRssi()returns RSSI of the network in raw form
return mRssi;
|
public long | getTxBad()returns number of transmitted packets that encountered errors
return mTxBad;
|
public long | getTxGood()returns number of packets transmitted without error
return mTxGood;
|
public int | getType()returns Wifi network type
return mType;
|
public void | setBssid(java.lang.String bssid)
mBssid = bssid;
|
public void | setRssi(int rssi)
mRssi = rssi;
|
public void | setTxBad(long txBad)
mTxBad = txBad;
|
public void | setTxGood(long txGood)
mTxGood = txGood;
|
public void | setType(int type)
mType = type;
|
public void | writeToParcel(android.os.Parcel dest, int flags)Implement the Parcelable interface.
super.writeToParcel(dest, flags, OBJECT_TYPE_WIFI_LINK_QUALITY_INFO);
dest.writeInt(mType);
dest.writeInt(mRssi);
dest.writeLong(mTxGood);
dest.writeLong(mTxBad);
dest.writeString(mBssid);
|