|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.garmin.fit.Mesg
com.garmin.fit.GpsMetadataMesg
public class GpsMetadataMesg
Field Summary | |
---|---|
static int |
EnhancedAltitudeFieldNum
|
static int |
EnhancedSpeedFieldNum
|
protected static Mesg |
gpsMetadataMesg
|
static int |
HeadingFieldNum
|
static int |
PositionLatFieldNum
|
static int |
PositionLongFieldNum
|
static int |
TimestampFieldNum
|
static int |
TimestampMsFieldNum
|
static int |
UtcTimestampFieldNum
|
static int |
VelocityFieldNum
|
Fields inherited from class com.garmin.fit.Mesg |
---|
developerFields, fields, localNum, name, num, systemTimeOffset |
Constructor Summary | |
---|---|
GpsMetadataMesg()
|
|
GpsMetadataMesg(Mesg mesg)
|
Method Summary | |
---|---|
java.lang.Float |
getEnhancedAltitude()
Get enhanced_altitude field Units: m |
java.lang.Float |
getEnhancedSpeed()
Get enhanced_speed field Units: m/s |
java.lang.Float |
getHeading()
Get heading field Units: degrees |
int |
getNumVelocity()
|
java.lang.Integer |
getPositionLat()
Get position_lat field Units: semicircles |
java.lang.Integer |
getPositionLong()
Get position_long field Units: semicircles |
DateTime |
getTimestamp()
Get timestamp field Units: s Comment: Whole second part of the timestamp. |
java.lang.Integer |
getTimestampMs()
Get timestamp_ms field Units: ms Comment: Millisecond part of the timestamp. |
DateTime |
getUtcTimestamp()
Get utc_timestamp field Units: s Comment: Used to correlate UTC to system time if the timestamp of the message is in system time. |
java.lang.Float[] |
getVelocity()
|
java.lang.Float |
getVelocity(int index)
Get velocity field Units: m/s Comment: velocity[0] is lon velocity. |
void |
setEnhancedAltitude(java.lang.Float enhancedAltitude)
Set enhanced_altitude field Units: m |
void |
setEnhancedSpeed(java.lang.Float enhancedSpeed)
Set enhanced_speed field Units: m/s |
void |
setHeading(java.lang.Float heading)
Set heading field Units: degrees |
void |
setPositionLat(java.lang.Integer positionLat)
Set position_lat field Units: semicircles |
void |
setPositionLong(java.lang.Integer positionLong)
Set position_long field Units: semicircles |
void |
setTimestamp(DateTime timestamp)
Set timestamp field Units: s Comment: Whole second part of the timestamp. |
void |
setTimestampMs(java.lang.Integer timestampMs)
Set timestamp_ms field Units: ms Comment: Millisecond part of the timestamp. |
void |
setUtcTimestamp(DateTime utcTimestamp)
Set utc_timestamp field Units: s Comment: Used to correlate UTC to system time if the timestamp of the message is in system time. |
void |
setVelocity(int index,
java.lang.Float velocity)
Set velocity field Units: m/s Comment: velocity[0] is lon velocity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int TimestampFieldNum
public static final int TimestampMsFieldNum
public static final int PositionLatFieldNum
public static final int PositionLongFieldNum
public static final int EnhancedAltitudeFieldNum
public static final int EnhancedSpeedFieldNum
public static final int HeadingFieldNum
public static final int UtcTimestampFieldNum
public static final int VelocityFieldNum
protected static final Mesg gpsMetadataMesg
Constructor Detail |
---|
public GpsMetadataMesg()
public GpsMetadataMesg(Mesg mesg)
Method Detail |
---|
public DateTime getTimestamp()
public void setTimestamp(DateTime timestamp)
timestamp
- public java.lang.Integer getTimestampMs()
public void setTimestampMs(java.lang.Integer timestampMs)
timestampMs
- public java.lang.Integer getPositionLat()
public void setPositionLat(java.lang.Integer positionLat)
positionLat
- public java.lang.Integer getPositionLong()
public void setPositionLong(java.lang.Integer positionLong)
positionLong
- public java.lang.Float getEnhancedAltitude()
public void setEnhancedAltitude(java.lang.Float enhancedAltitude)
enhancedAltitude
- public java.lang.Float getEnhancedSpeed()
public void setEnhancedSpeed(java.lang.Float enhancedSpeed)
enhancedSpeed
- public java.lang.Float getHeading()
public void setHeading(java.lang.Float heading)
heading
- public DateTime getUtcTimestamp()
public void setUtcTimestamp(DateTime utcTimestamp)
utcTimestamp
- public java.lang.Float[] getVelocity()
public int getNumVelocity()
public java.lang.Float getVelocity(int index)
index
- of velocity
public void setVelocity(int index, java.lang.Float velocity)
index
- of velocityvelocity
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |