mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-28 12:17:57 +03:00
27 lines
454 B
Java
27 lines
454 B
Java
package android.location;
|
|
|
|
public class Location {
|
|
|
|
private double latitude;
|
|
private double longitude;
|
|
private double bearing;
|
|
|
|
public Location (double latitude, double longitude, double bearing) {
|
|
this.latitude = latitude;
|
|
this.longitude = longitude;
|
|
this.bearing = bearing;
|
|
}
|
|
|
|
public double getLatitude() {
|
|
return latitude;
|
|
}
|
|
|
|
public double getLongitude() {
|
|
return longitude;
|
|
}
|
|
|
|
public double getBearing() {
|
|
return bearing;
|
|
}
|
|
|
|
}
|