|
|||||||||
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.ActivityMesg
public class ActivityMesg
Field Summary | |
---|---|
protected static Mesg |
activityMesg
|
static int |
EventFieldNum
|
static int |
EventGroupFieldNum
|
static int |
EventTypeFieldNum
|
static int |
LocalTimestampFieldNum
|
static int |
NumSessionsFieldNum
|
static int |
TimestampFieldNum
|
static int |
TotalTimerTimeFieldNum
|
static int |
TypeFieldNum
|
Fields inherited from class com.garmin.fit.Mesg |
---|
developerFields, fields, localNum, name, num, systemTimeOffset |
Constructor Summary | |
---|---|
ActivityMesg()
|
|
ActivityMesg(Mesg mesg)
|
Method Summary | |
---|---|
Event |
getEvent()
Get event field |
java.lang.Short |
getEventGroup()
Get event_group field |
EventType |
getEventType()
Get event_type field |
java.lang.Long |
getLocalTimestamp()
Get local_timestamp field Comment: timestamp epoch expressed in local time, used to convert activity timestamps to local time |
java.lang.Integer |
getNumSessions()
Get num_sessions field |
DateTime |
getTimestamp()
Get timestamp field |
java.lang.Float |
getTotalTimerTime()
Get total_timer_time field Units: s Comment: Exclude pauses |
Activity |
getType()
Get type field |
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 |
setLocalTimestamp(java.lang.Long localTimestamp)
Set local_timestamp field Comment: timestamp epoch expressed in local time, used to convert activity timestamps to local time |
void |
setNumSessions(java.lang.Integer numSessions)
Set num_sessions field |
void |
setTimestamp(DateTime timestamp)
Set timestamp field |
void |
setTotalTimerTime(java.lang.Float totalTimerTime)
Set total_timer_time field Units: s Comment: Exclude pauses |
void |
setType(Activity type)
Set type field |
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 TotalTimerTimeFieldNum
public static final int NumSessionsFieldNum
public static final int TypeFieldNum
public static final int EventFieldNum
public static final int EventTypeFieldNum
public static final int LocalTimestampFieldNum
public static final int EventGroupFieldNum
protected static final Mesg activityMesg
Constructor Detail |
---|
public ActivityMesg()
public ActivityMesg(Mesg mesg)
Method Detail |
---|
public DateTime getTimestamp()
getTimestamp
in interface MesgWithEvent
public void setTimestamp(DateTime timestamp)
setTimestamp
in interface MesgWithEvent
timestamp
- public java.lang.Float getTotalTimerTime()
public void setTotalTimerTime(java.lang.Float totalTimerTime)
totalTimerTime
- public java.lang.Integer getNumSessions()
public void setNumSessions(java.lang.Integer numSessions)
numSessions
- public Activity getType()
public void setType(Activity type)
type
- 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 java.lang.Long getLocalTimestamp()
public void setLocalTimestamp(java.lang.Long localTimestamp)
localTimestamp
- public java.lang.Short getEventGroup()
getEventGroup
in interface MesgWithEvent
public void setEventGroup(java.lang.Short eventGroup)
setEventGroup
in interface MesgWithEvent
eventGroup
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |