public abstract class CellLocation
extends Object
| java.lang.Object | |
| ↳ | android.telephony.CellLocation |
| |
表示设备位置的抽象类。
Public constructors |
|
|---|---|
CellLocation() |
|
Public methods |
|
|---|---|
static CellLocation |
getEmpty() 返回表示未知位置的新CellLocation对象,或者返回未知/无电话无线电类型的null。 |
static void |
requestLocationUpdate() 请求更新当前位置。 |
Inherited methods |
|
|---|---|
java.lang.Object
|
|
CellLocation getEmpty ()
返回表示未知位置的新CellLocation对象,或者返回未知/无电话无线电类型的null。
| Returns | |
|---|---|
CellLocation |
|
void requestLocationUpdate ()
请求更新当前位置。 如果位置发生变化,广播将发送给注册LISTEN_CELL_LOCATION 。