public
abstract
class
CellLocation
extends Object
java.lang.Object | |
↳ | android.telephony.CellLocation |
Known Direct Subclasses |
Abstract class that represents the location of the device.
Public constructors | |
---|---|
CellLocation()
|
Public methods | |
---|---|
static
CellLocation
|
getEmpty()
Return a new CellLocation object representing an unknown location, or null for unknown/none phone radio types. |
static
void
|
requestLocationUpdate()
Request an update of the current location. |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
CellLocation getEmpty ()
Return a new CellLocation object representing an unknown location, or null for unknown/none phone radio types.
Returns | |
---|---|
CellLocation |
void requestLocationUpdate ()
Request an update of the current location. If the location has changed,
a broadcast will be sent to everyone registered with LISTEN_CELL_LOCATION
.