|
|||||||||
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.LengthMesg
public class LengthMesg
Field Summary | |
---|---|
static int |
AvgSpeedFieldNum
|
static int |
AvgSwimmingCadenceFieldNum
|
static int |
EventFieldNum
|
static int |
EventGroupFieldNum
|
static int |
EventTypeFieldNum
|
protected static Mesg |
lengthMesg
|
static int |
LengthTypeFieldNum
|
static int |
MessageIndexFieldNum
|
static int |
OpponentScoreFieldNum
|
static int |
PlayerScoreFieldNum
|
static int |
StartTimeFieldNum
|
static int |
StrokeCountFieldNum
|
static int |
SwimStrokeFieldNum
|
static int |
TimestampFieldNum
|
static int |
TotalCaloriesFieldNum
|
static int |
TotalElapsedTimeFieldNum
|
static int |
TotalStrokesFieldNum
|
static int |
TotalTimerTimeFieldNum
|
static int |
ZoneCountFieldNum
|
Fields inherited from class com.garmin.fit.Mesg |
---|
developerFields, fields, localNum, name, num, systemTimeOffset |
Constructor Summary | |
---|---|
LengthMesg()
|
|
LengthMesg(Mesg mesg)
|
Method Summary | |
---|---|
java.lang.Float |
getAvgSpeed()
Get avg_speed field Units: m/s |
java.lang.Short |
getAvgSwimmingCadence()
Get avg_swimming_cadence field Units: strokes/min |
Event |
getEvent()
Get event field |
java.lang.Short |
getEventGroup()
Get event_group field |
EventType |
getEventType()
Get event_type field |
LengthType |
getLengthType()
Get length_type field |
java.lang.Integer |
getMessageIndex()
Get message_index field |
int |
getNumStrokeCount()
|
int |
getNumZoneCount()
|
java.lang.Integer |
getOpponentScore()
Get opponent_score field |
java.lang.Integer |
getPlayerScore()
Get player_score field |
DateTime |
getStartTime()
Get start_time field |
java.lang.Integer[] |
getStrokeCount()
|
java.lang.Integer |
getStrokeCount(int index)
Get stroke_count field Units: counts Comment: stroke_type enum used as the index |
SwimStroke |
getSwimStroke()
Get swim_stroke field Units: swim_stroke |
DateTime |
getTimestamp()
Get timestamp field |
java.lang.Integer |
getTotalCalories()
Get total_calories field Units: kcal |
java.lang.Float |
getTotalElapsedTime()
Get total_elapsed_time field Units: s |
java.lang.Integer |
getTotalStrokes()
Get total_strokes field Units: strokes |
java.lang.Float |
getTotalTimerTime()
Get total_timer_time field Units: s |
java.lang.Integer[] |
getZoneCount()
|
java.lang.Integer |
getZoneCount(int index)
Get zone_count field Units: counts Comment: zone number used as the index |
void |
setAvgSpeed(java.lang.Float avgSpeed)
Set avg_speed field Units: m/s |
void |
setAvgSwimmingCadence(java.lang.Short avgSwimmingCadence)
Set avg_swimming_cadence field Units: strokes/min |
void |
setEvent(Event event)
Set event field |
void |
setEventGroup(java.lang.Short eventGroup)
Set event_group field |
void |
setEventType(EventType eventType)
Set event_type field |
void |
setLengthType(LengthType lengthType)
Set length_type field |
void |
setMessageIndex(java.lang.Integer messageIndex)
Set message_index field |
void |
setOpponentScore(java.lang.Integer opponentScore)
Set opponent_score field |
void |
setPlayerScore(java.lang.Integer playerScore)
Set player_score field |
void |
setStartTime(DateTime startTime)
Set start_time field |
void |
setStrokeCount(int index,
java.lang.Integer strokeCount)
Set stroke_count field Units: counts Comment: stroke_type enum used as the index |
void |
setSwimStroke(SwimStroke swimStroke)
Set swim_stroke field Units: swim_stroke |
void |
setTimestamp(DateTime timestamp)
Set timestamp field |
void |
setTotalCalories(java.lang.Integer totalCalories)
Set total_calories field Units: kcal |
void |
setTotalElapsedTime(java.lang.Float totalElapsedTime)
Set total_elapsed_time field Units: s |
void |
setTotalStrokes(java.lang.Integer totalStrokes)
Set total_strokes field Units: strokes |
void |
setTotalTimerTime(java.lang.Float totalTimerTime)
Set total_timer_time field Units: s |
void |
setZoneCount(int index,
java.lang.Integer zoneCount)
Set zone_count field Units: counts Comment: zone number used as the index |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MessageIndexFieldNum
public static final int TimestampFieldNum
public static final int EventFieldNum
public static final int EventTypeFieldNum
public static final int StartTimeFieldNum
public static final int TotalElapsedTimeFieldNum
public static final int TotalTimerTimeFieldNum
public static final int TotalStrokesFieldNum
public static final int AvgSpeedFieldNum
public static final int SwimStrokeFieldNum
public static final int AvgSwimmingCadenceFieldNum
public static final int EventGroupFieldNum
public static final int TotalCaloriesFieldNum
public static final int LengthTypeFieldNum
public static final int PlayerScoreFieldNum
public static final int OpponentScoreFieldNum
public static final int StrokeCountFieldNum
public static final int ZoneCountFieldNum
protected static final Mesg lengthMesg
Constructor Detail |
---|
public LengthMesg()
public LengthMesg(Mesg mesg)
Method Detail |
---|
public java.lang.Integer getMessageIndex()
public void setMessageIndex(java.lang.Integer messageIndex)
messageIndex
- public DateTime getTimestamp()
getTimestamp
in interface MesgWithEvent
public void setTimestamp(DateTime timestamp)
setTimestamp
in interface MesgWithEvent
timestamp
- public Event getEvent()
getEvent
in interface MesgWithEvent
public void setEvent(Event event)
setEvent
in interface MesgWithEvent
event
- public EventType getEventType()
getEventType
in interface MesgWithEvent
public void setEventType(EventType eventType)
setEventType
in interface MesgWithEvent
eventType
- public DateTime getStartTime()
public void setStartTime(DateTime startTime)
startTime
- public java.lang.Float getTotalElapsedTime()
public void setTotalElapsedTime(java.lang.Float totalElapsedTime)
totalElapsedTime
- public java.lang.Float getTotalTimerTime()
public void setTotalTimerTime(java.lang.Float totalTimerTime)
totalTimerTime
- public java.lang.Integer getTotalStrokes()
public void setTotalStrokes(java.lang.Integer totalStrokes)
totalStrokes
- public java.lang.Float getAvgSpeed()
public void setAvgSpeed(java.lang.Float avgSpeed)
avgSpeed
- public SwimStroke getSwimStroke()
public void setSwimStroke(SwimStroke swimStroke)
swimStroke
- public java.lang.Short getAvgSwimmingCadence()
public void setAvgSwimmingCadence(java.lang.Short avgSwimmingCadence)
avgSwimmingCadence
- public java.lang.Short getEventGroup()
getEventGroup
in interface MesgWithEvent
public void setEventGroup(java.lang.Short eventGroup)
setEventGroup
in interface MesgWithEvent
eventGroup
- public java.lang.Integer getTotalCalories()
public void setTotalCalories(java.lang.Integer totalCalories)
totalCalories
- public LengthType getLengthType()
public void setLengthType(LengthType lengthType)
lengthType
- public java.lang.Integer getPlayerScore()
public void setPlayerScore(java.lang.Integer playerScore)
playerScore
- public java.lang.Integer getOpponentScore()
public void setOpponentScore(java.lang.Integer opponentScore)
opponentScore
- public java.lang.Integer[] getStrokeCount()
public int getNumStrokeCount()
public java.lang.Integer getStrokeCount(int index)
index
- of stroke_count
public void setStrokeCount(int index, java.lang.Integer strokeCount)
index
- of stroke_countstrokeCount
- public java.lang.Integer[] getZoneCount()
public int getNumZoneCount()
public java.lang.Integer getZoneCount(int index)
index
- of zone_count
public void setZoneCount(int index, java.lang.Integer zoneCount)
index
- of zone_countzoneCount
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |