|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.telephony.CellLocation
android.telephony.gsm.GsmCellLocation
public class GsmCellLocation
Represents the cell location on a GSM phone.
| Constructor Summary | |
|---|---|
GsmCellLocation()
Empty constructor. |
|
GsmCellLocation(Bundle bundle)
Initialize the object from a bundle. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison. |
void |
fillInNotifierBundle(Bundle m)
Set intent notifier Bundle based on service state |
int |
getCid()
|
int |
getLac()
|
int |
hashCode()
Returns an integer hash code for the receiver. |
void |
setLacAndCid(int lac,
int cid)
Set the location area code and the cell id. |
void |
setStateInvalid()
Invalidate this object. |
String |
toString()
Returns a string containing a concise, human-readable description of the receiver. |
| Methods inherited from class android.telephony.CellLocation |
|---|
getEmpty, newFromBundle, requestLocationUpdate |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GsmCellLocation()
public GsmCellLocation(Bundle bundle)
| Method Detail |
|---|
public int getLac()
public int getCid()
public void setStateInvalid()
public void setLacAndCid(int lac,
int cid)
public int hashCode()
Objecttrue when passed to .equals must
answer the same value for this method.
hashCode in class ObjectObject.equals(java.lang.Object)public boolean equals(Object o)
Object
equals in class Objecto - Object the object to compare with this object.
true if the object is the same as this
object false if it is different from this object.Object.hashCode()public String toString()
Object
toString in class Objectpublic void fillInNotifierBundle(Bundle m)
fillInNotifierBundle in class CellLocationm - intent notifier Bundle
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||