|
|||||||||
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.BarometerDataMesg
public class BarometerDataMesg
Field Summary | |
---|---|
protected static Mesg |
barometerDataMesg
|
static int |
BaroPresFieldNum
|
static int |
SampleTimeOffsetFieldNum
|
static int |
TimestampFieldNum
|
static int |
TimestampMsFieldNum
|
Fields inherited from class com.garmin.fit.Mesg |
---|
developerFields, fields, localNum, name, num, systemTimeOffset |
Constructor Summary | |
---|---|
BarometerDataMesg()
|
|
BarometerDataMesg(Mesg mesg)
|
Method Summary | |
---|---|
java.lang.Long[] |
getBaroPres()
|
java.lang.Long |
getBaroPres(int index)
Get baro_pres field Units: Pa Comment: These are the raw ADC reading. |
int |
getNumBaroPres()
|
int |
getNumSampleTimeOffset()
|
java.lang.Integer[] |
getSampleTimeOffset()
|
java.lang.Integer |
getSampleTimeOffset(int index)
Get sample_time_offset field Units: ms Comment: Each time in the array describes the time at which the barometer sample with the corrosponding index was taken. |
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. |
void |
setBaroPres(int index,
java.lang.Long baroPres)
Set baro_pres field Units: Pa Comment: These are the raw ADC reading. |
void |
setSampleTimeOffset(int index,
java.lang.Integer sampleTimeOffset)
Set sample_time_offset field Units: ms Comment: Each time in the array describes the time at which the barometer sample with the corrosponding index was taken. |
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. |
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 SampleTimeOffsetFieldNum
public static final int BaroPresFieldNum
protected static final Mesg barometerDataMesg
Constructor Detail |
---|
public BarometerDataMesg()
public BarometerDataMesg(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[] getSampleTimeOffset()
public int getNumSampleTimeOffset()
public java.lang.Integer getSampleTimeOffset(int index)
index
- of sample_time_offset
public void setSampleTimeOffset(int index, java.lang.Integer sampleTimeOffset)
index
- of sample_time_offsetsampleTimeOffset
- public java.lang.Long[] getBaroPres()
public int getNumBaroPres()
public java.lang.Long getBaroPres(int index)
index
- of baro_pres
public void setBaroPres(int index, java.lang.Long baroPres)
index
- of baro_presbaroPres
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |