public class LocationPointWithTimestamp extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<LocationPointWithTimestamp> |
CREATOR |
LocationPoint |
location
A location point.
|
long |
timestampMillis
The timestamp in milliseconds that corresponds to the
location. |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
LocationPointWithTimestamp(LocationPoint location,
long timestampMillis) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(Object o) |
int |
hashCode() |
void |
writeToParcel(Parcel dest,
int flags) |
public LocationPoint location
public long timestampMillis
location.public static final Parcelable.Creator<LocationPointWithTimestamp> CREATOR
public LocationPointWithTimestamp(LocationPoint location, long timestampMillis)
public int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
writeToParcel in interface Parcelable