public static final class VCard.Geo
extends java.lang.Object
Stores information related to the global positioning.
Constructor and Description |
---|
Geo(double latitude,
double longitude) |
Modifier and Type | Method and Description |
---|---|
double |
getLatitude()
Gets the latitude (represents the location north and south of the equator).
|
double |
getLongitude()
Gets the longitude (represents the location east and west of the prime meridian).
|
void |
setLatitude(double latitude)
Sets the latitude.
|
void |
setLongitude(double longitude)
Sets the longitude.
|
public Geo(double latitude, double longitude)
latitude
- The latitude.longitude
- The longitude.public double getLatitude()
Gets the latitude (represents the location north and south of the equator).
setLatitude(double)
public void setLatitude(double latitude)
Sets the latitude.
latitude
- The latitude.getLatitude()
public double getLongitude()
Gets the longitude (represents the location east and west of the prime meridian).
setLongitude(double)
public void setLongitude(double longitude)
Sets the longitude.
longitude
- The longitude.getLongitude()
Copyright © 2014–2019 XMPP.rocks. All rights reserved.