|
|||||||||
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.MagnetometerDataMesg
public class MagnetometerDataMesg
Field Summary | |
---|---|
static int |
CalibratedMagXFieldNum
|
static int |
CalibratedMagYFieldNum
|
static int |
CalibratedMagZFieldNum
|
protected static Mesg |
magnetometerDataMesg
|
static int |
MagXFieldNum
|
static int |
MagYFieldNum
|
static int |
MagZFieldNum
|
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 | |
---|---|
MagnetometerDataMesg()
|
|
MagnetometerDataMesg(Mesg mesg)
|
Method Summary | |
---|---|
java.lang.Float[] |
getCalibratedMagX()
|
java.lang.Float |
getCalibratedMagX(int index)
Get calibrated_mag_x field Units: G Comment: Calibrated Magnetometer reading |
java.lang.Float[] |
getCalibratedMagY()
|
java.lang.Float |
getCalibratedMagY(int index)
Get calibrated_mag_y field Units: G Comment: Calibrated Magnetometer reading |
java.lang.Float[] |
getCalibratedMagZ()
|
java.lang.Float |
getCalibratedMagZ(int index)
Get calibrated_mag_z field Units: G Comment: Calibrated Magnetometer reading |
java.lang.Integer[] |
getMagX()
|
java.lang.Integer |
getMagX(int index)
Get mag_x field Units: counts Comment: These are the raw ADC reading. |
java.lang.Integer[] |
getMagY()
|
java.lang.Integer |
getMagY(int index)
Get mag_y field Units: counts Comment: These are the raw ADC reading. |
java.lang.Integer[] |
getMagZ()
|
java.lang.Integer |
getMagZ(int index)
Get mag_z field Units: counts Comment: These are the raw ADC reading. |
int |
getNumCalibratedMagX()
|
int |
getNumCalibratedMagY()
|
int |
getNumCalibratedMagZ()
|
int |
getNumMagX()
|
int |
getNumMagY()
|
int |
getNumMagZ()
|
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 compass 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 |
setCalibratedMagX(int index,
java.lang.Float calibratedMagX)
Set calibrated_mag_x field Units: G Comment: Calibrated Magnetometer reading |
void |
setCalibratedMagY(int index,
java.lang.Float calibratedMagY)
Set calibrated_mag_y field Units: G Comment: Calibrated Magnetometer reading |
void |
setCalibratedMagZ(int index,
java.lang.Float calibratedMagZ)
Set calibrated_mag_z field Units: G Comment: Calibrated Magnetometer reading |
void |
setMagX(int index,
java.lang.Integer magX)
Set mag_x field Units: counts Comment: These are the raw ADC reading. |
void |
setMagY(int index,
java.lang.Integer magY)
Set mag_y field Units: counts Comment: These are the raw ADC reading. |
void |
setMagZ(int index,
java.lang.Integer magZ)
Set mag_z field Units: counts 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 compass 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 MagXFieldNum
public static final int MagYFieldNum
public static final int MagZFieldNum
public static final int CalibratedMagXFieldNum
public static final int CalibratedMagYFieldNum
public static final int CalibratedMagZFieldNum
protected static final Mesg magnetometerDataMesg
Constructor Detail |
---|
public MagnetometerDataMesg()
public MagnetometerDataMesg(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.Integer[] getMagX()
public int getNumMagX()
public java.lang.Integer getMagX(int index)
index
- of mag_x
public void setMagX(int index, java.lang.Integer magX)
index
- of mag_xmagX
- public java.lang.Integer[] getMagY()
public int getNumMagY()
public java.lang.Integer getMagY(int index)
index
- of mag_y
public void setMagY(int index, java.lang.Integer magY)
index
- of mag_ymagY
- public java.lang.Integer[] getMagZ()
public int getNumMagZ()
public java.lang.Integer getMagZ(int index)
index
- of mag_z
public void setMagZ(int index, java.lang.Integer magZ)
index
- of mag_zmagZ
- public java.lang.Float[] getCalibratedMagX()
public int getNumCalibratedMagX()
public java.lang.Float getCalibratedMagX(int index)
index
- of calibrated_mag_x
public void setCalibratedMagX(int index, java.lang.Float calibratedMagX)
index
- of calibrated_mag_xcalibratedMagX
- public java.lang.Float[] getCalibratedMagY()
public int getNumCalibratedMagY()
public java.lang.Float getCalibratedMagY(int index)
index
- of calibrated_mag_y
public void setCalibratedMagY(int index, java.lang.Float calibratedMagY)
index
- of calibrated_mag_ycalibratedMagY
- public java.lang.Float[] getCalibratedMagZ()
public int getNumCalibratedMagZ()
public java.lang.Float getCalibratedMagZ(int index)
index
- of calibrated_mag_z
public void setCalibratedMagZ(int index, java.lang.Float calibratedMagZ)
index
- of calibrated_mag_zcalibratedMagZ
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |