Methods Summary |
---|
public AddressInfo | getAddressInfo()
return address;
|
public float | getCourse()
return course;
|
public java.lang.String | getExtraInfo(java.lang.String mimetype)
if (mimetype == null) {
return null;
}
if (mimetype.equalsIgnoreCase(MIMETYPE_NMEA_STRING)) {
return extraInfoNMEA;
}
if (mimetype.equalsIgnoreCase(MIMETYPE_LIF_STRING)) {
return extraInfoLIF;
}
if (mimetype.equalsIgnoreCase(MIMETYPE_PLAIN_STRING)) {
return extraInfoPlain;
}
if (mimetype.equalsIgnoreCase(extraInfoOtherMIMEType)) {
return extraInfoOther;
}
return null;
|
public int | getLocationMethod()
return method;
|
public QualifiedCoordinates | getQualifiedCoordinates()
return coordinates;
|
public float | getSpeed()
return speed;
|
public long | getTimestamp()
return timestamp;
|
public boolean | isValid()
return isValid;
|
public void | setTimestamp(long timestamp)
if (timestamp == 0) {
this.timestamp = System.currentTimeMillis();
} else {
this.timestamp = timestamp;
}
|
public void | setTimestamp()
timestamp = System.currentTimeMillis();
|
public void | setValid(boolean isValid)
this.isValid = isValid;
|