public static class TdApi.Location extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
double |
horizontalAccuracy
The estimated horizontal accuracy of the location, in meters; as defined by the sender.
|
double |
latitude
Latitude of the location in degrees; as defined by the sender.
|
double |
longitude
Longitude of the location, in degrees; as defined by the sender.
|
| Constructor and Description |
|---|
Location()
Describes a location on planet Earth.
|
Location(double latitude,
double longitude,
double horizontalAccuracy)
Describes a location on planet Earth.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic double latitude
public double longitude
public double horizontalAccuracy
public static final int CONSTRUCTOR
public Location()
public Location(double latitude,
double longitude,
double horizontalAccuracy)
latitude - Latitude of the location in degrees; as defined by the sender.longitude - Longitude of the location, in degrees; as defined by the sender.horizontalAccuracy - The estimated horizontal accuracy of the location, in meters; as defined by the sender. 0 if unknown.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object