You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
28 lines
455 B
Java
28 lines
455 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;
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|