Most visited

Recently visited

Added in API level 1

CellLocation

public abstract class CellLocation
extends Object

java.lang.Object
   ↳ android.telephony.CellLocation
Known Direct Subclasses


表示设备位置的抽象类。

Summary

Public constructors

CellLocation()

Public methods

static CellLocation getEmpty()

返回表示未知位置的新CellLocation对象,或者返回未知/无电话无线电类型的null。

static void requestLocationUpdate()

请求更新当前位置。

Inherited methods

From class java.lang.Object

Public constructors

CellLocation

Added in API level 1
CellLocation ()

Public methods

getEmpty

Added in API level 1
CellLocation getEmpty ()

返回表示未知位置的新CellLocation对象,或者返回未知/无电话无线电类型的null。

Returns
CellLocation

requestLocationUpdate

Added in API level 1
void requestLocationUpdate ()

请求更新当前位置。 如果位置发生变化,广播将发送给注册LISTEN_CELL_LOCATION

Hooray!