com.garmin.fit
Class MonitoringInfoMesg

java.lang.Object
  extended by com.garmin.fit.Mesg
      extended by com.garmin.fit.MonitoringInfoMesg

public class MonitoringInfoMesg
extends Mesg


Field Summary
static int ActivityTypeFieldNum
           
static int CyclesToCaloriesFieldNum
           
static int CyclesToDistanceFieldNum
           
static int LocalTimestampFieldNum
           
protected static Mesg monitoringInfoMesg
           
static int RestingMetabolicRateFieldNum
           
static int TimestampFieldNum
           
 
Fields inherited from class com.garmin.fit.Mesg
developerFields, fields, localNum, name, num, systemTimeOffset
 
Constructor Summary
MonitoringInfoMesg()
           
MonitoringInfoMesg(Mesg mesg)
           
 
Method Summary
 ActivityType[] getActivityType()
           
 ActivityType getActivityType(int index)
          Get activity_type field
 java.lang.Float[] getCyclesToCalories()
           
 java.lang.Float getCyclesToCalories(int index)
          Get cycles_to_calories field Units: kcal/cycle Comment: Indexed by activity_type
 java.lang.Float[] getCyclesToDistance()
           
 java.lang.Float getCyclesToDistance(int index)
          Get cycles_to_distance field Units: m/cycle Comment: Indexed by activity_type
 java.lang.Long getLocalTimestamp()
          Get local_timestamp field Units: s Comment: Use to convert activity timestamps to local time if device does not support time zone and daylight savings time correction.
 int getNumActivityType()
           
 int getNumCyclesToCalories()
           
 int getNumCyclesToDistance()
           
 java.lang.Integer getRestingMetabolicRate()
          Get resting_metabolic_rate field Units: kcal / day
 DateTime getTimestamp()
          Get timestamp field Units: s
 void setActivityType(int index, ActivityType activityType)
          Set activity_type field
 void setCyclesToCalories(int index, java.lang.Float cyclesToCalories)
          Set cycles_to_calories field Units: kcal/cycle Comment: Indexed by activity_type
 void setCyclesToDistance(int index, java.lang.Float cyclesToDistance)
          Set cycles_to_distance field Units: m/cycle Comment: Indexed by activity_type
 void setLocalTimestamp(java.lang.Long localTimestamp)
          Set local_timestamp field Units: s Comment: Use to convert activity timestamps to local time if device does not support time zone and daylight savings time correction.
 void setRestingMetabolicRate(java.lang.Integer restingMetabolicRate)
          Set resting_metabolic_rate field Units: kcal / day
 void setTimestamp(DateTime timestamp)
          Set timestamp field Units: s
 
Methods inherited from class com.garmin.fit.Mesg
addDeveloperField, addField, getActiveSubFieldIndex, getActiveSubFieldName, getDeveloperFields, getField, getField, getField, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValues, getFieldBigIntegerValues, getFieldBigIntegerValues, getFieldBitsValue, getFieldBitsValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValues, getFieldByteValues, getFieldByteValues, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValues, getFieldDoubleValues, getFieldDoubleValues, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValues, getFieldFloatValues, getFieldFloatValues, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValues, getFieldIntegerValues, getFieldIntegerValues, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValues, getFieldLongValues, getFieldLongValues, getFields, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValues, getFieldShortValues, getFieldShortValues, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValues, getFieldStringValues, getFieldStringValues, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getIsFieldAccumulated, getLocalNum, getName, getNum, getNumFields, getNumFieldValues, getNumFieldValues, getNumFieldValues, getNumFieldValues, getOverrideField, hasField, removeExpandedFields, removeField, setField, setFields, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setLocalNum, timestampToDateTime, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TimestampFieldNum

public static final int TimestampFieldNum
See Also:
Constant Field Values

LocalTimestampFieldNum

public static final int LocalTimestampFieldNum
See Also:
Constant Field Values

ActivityTypeFieldNum

public static final int ActivityTypeFieldNum
See Also:
Constant Field Values

CyclesToDistanceFieldNum

public static final int CyclesToDistanceFieldNum
See Also:
Constant Field Values

CyclesToCaloriesFieldNum

public static final int CyclesToCaloriesFieldNum
See Also:
Constant Field Values

RestingMetabolicRateFieldNum

public static final int RestingMetabolicRateFieldNum
See Also:
Constant Field Values

monitoringInfoMesg

protected static final Mesg monitoringInfoMesg
Constructor Detail

MonitoringInfoMesg

public MonitoringInfoMesg()

MonitoringInfoMesg

public MonitoringInfoMesg(Mesg mesg)
Method Detail

getTimestamp

public DateTime getTimestamp()
Get timestamp field Units: s

Returns:
timestamp

setTimestamp

public void setTimestamp(DateTime timestamp)
Set timestamp field Units: s

Parameters:
timestamp -

getLocalTimestamp

public java.lang.Long getLocalTimestamp()
Get local_timestamp field Units: s Comment: Use to convert activity timestamps to local time if device does not support time zone and daylight savings time correction.

Returns:
local_timestamp

setLocalTimestamp

public void setLocalTimestamp(java.lang.Long localTimestamp)
Set local_timestamp field Units: s Comment: Use to convert activity timestamps to local time if device does not support time zone and daylight savings time correction.

Parameters:
localTimestamp -

getActivityType

public ActivityType[] getActivityType()

getNumActivityType

public int getNumActivityType()
Returns:
number of activity_type

getActivityType

public ActivityType getActivityType(int index)
Get activity_type field

Parameters:
index - of activity_type
Returns:
activity_type

setActivityType

public void setActivityType(int index,
                            ActivityType activityType)
Set activity_type field

Parameters:
index - of activity_type
activityType -

getCyclesToDistance

public java.lang.Float[] getCyclesToDistance()

getNumCyclesToDistance

public int getNumCyclesToDistance()
Returns:
number of cycles_to_distance

getCyclesToDistance

public java.lang.Float getCyclesToDistance(int index)
Get cycles_to_distance field Units: m/cycle Comment: Indexed by activity_type

Parameters:
index - of cycles_to_distance
Returns:
cycles_to_distance

setCyclesToDistance

public void setCyclesToDistance(int index,
                                java.lang.Float cyclesToDistance)
Set cycles_to_distance field Units: m/cycle Comment: Indexed by activity_type

Parameters:
index - of cycles_to_distance
cyclesToDistance -

getCyclesToCalories

public java.lang.Float[] getCyclesToCalories()

getNumCyclesToCalories

public int getNumCyclesToCalories()
Returns:
number of cycles_to_calories

getCyclesToCalories

public java.lang.Float getCyclesToCalories(int index)
Get cycles_to_calories field Units: kcal/cycle Comment: Indexed by activity_type

Parameters:
index - of cycles_to_calories
Returns:
cycles_to_calories

setCyclesToCalories

public void setCyclesToCalories(int index,
                                java.lang.Float cyclesToCalories)
Set cycles_to_calories field Units: kcal/cycle Comment: Indexed by activity_type

Parameters:
index - of cycles_to_calories
cyclesToCalories -

getRestingMetabolicRate

public java.lang.Integer getRestingMetabolicRate()
Get resting_metabolic_rate field Units: kcal / day

Returns:
resting_metabolic_rate

setRestingMetabolicRate

public void setRestingMetabolicRate(java.lang.Integer restingMetabolicRate)
Set resting_metabolic_rate field Units: kcal / day

Parameters:
restingMetabolicRate -