Skip to content

Most visited

Recently visited

navigation

CellLocation

public abstract class CellLocation
extends Object

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


Abstract class that represents the location of the device.

Summary

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

Public constructors

CellLocation

Added in API level 1
CellLocation ()

Public methods

getEmpty

Added in API level 1
CellLocation getEmpty ()

Return a new CellLocation object representing an unknown location, or null for unknown/none phone radio types.

Returns
CellLocation

requestLocationUpdate

Added in API level 1
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.

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.