public abstract class CellLocation extends Object
Constructor and Description |
---|
CellLocation() |
Modifier and Type | Method and Description |
---|---|
abstract void |
fillInNotifierBundle(Bundle bundle) |
static CellLocation |
getEmpty()
Return a new CellLocation object representing an unknown
location, or null for unknown/none phone radio types.
|
abstract boolean |
isEmpty() |
static CellLocation |
newFromBundle(Bundle bundle)
Create a new CellLocation from a intent notifier Bundle
This method is used by PhoneStateIntentReceiver and maybe by
external applications.
|
static void |
requestLocationUpdate()
Request an update of the current location.
|
abstract void |
setStateInvalid()
Invalidate this object.
|
public static void requestLocationUpdate()
PhoneStateListener.LISTEN_CELL_LOCATION
.public static CellLocation newFromBundle(Bundle bundle)
bundle
- Bundle from intent notifierpublic abstract void fillInNotifierBundle(Bundle bundle)
public abstract boolean isEmpty()
public abstract void setStateInvalid()
public static CellLocation getEmpty()