|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.android.activityminer.model.devices.NetworkLocationData
public final class NetworkLocationData
Data structure for raw location data.
Field Summary | |
---|---|
double |
lat
The longitude |
double |
lon
The longitude |
double |
speed
The speed over ground in m/s |
long |
ts
The original time stamp |
static Double |
UNKNOWN_LATITUDE
Value for an unknown latitude |
static NetworkLocationData |
UNKNOWN_LOCATION
Constant for unknown location data |
static Double |
UNKNOWN_LONGITUDE
Value for an unknown longitude |
Constructor Summary | |
---|---|
NetworkLocationData(double lon,
double lat,
double speed,
long ts)
Constructor |
|
NetworkLocationData(Double lon,
Double lat,
Double speed,
long ts)
Constructor |
|
NetworkLocationData(Location location,
long ts)
Constructor |
|
NetworkLocationData(NetworkLocationData sample)
Copy-Constructor |
Method Summary | |
---|---|
void |
setTs(long ts)
Setter for the time stamp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Double UNKNOWN_LONGITUDE
public static final Double UNKNOWN_LATITUDE
public static final NetworkLocationData UNKNOWN_LOCATION
public final double lon
public final double lat
public final double speed
public long ts
Constructor Detail |
---|
public NetworkLocationData(Location location, long ts)
location
- the android location fixts
- the original time stamppublic NetworkLocationData(Double lon, Double lat, Double speed, long ts)
lon
- the longitudelat
- the latitudespeed
- the speedts
- the original time stamppublic NetworkLocationData(double lon, double lat, double speed, long ts)
lon
- the longitudelat
- the latitudespeed
- the speedts
- the original time stamppublic NetworkLocationData(NetworkLocationData sample)
sample
- the sample to create fromMethod Detail |
---|
public final void setTs(long ts)
ts
- the new time stamp
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |