public class LocationPoint extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<LocationPoint> |
CREATOR |
double |
latitude
The latitude in degrees of this location point.
|
double |
longitude
The longitude in degrees of this location point.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
LocationPoint(double latitude,
double longitude) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public double latitude
public double longitude
public static final Parcelable.Creator<LocationPoint> CREATOR
public LocationPoint(double latitude, double longitude)
latitude
- The latitude in degrees of this location point.longitude
- The longitude in degrees of this location point.public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable