|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fitbit.api.common.model.activities.ActivityReference
com.fitbit.api.common.model.activities.LoggedActivityReference
public class LoggedActivityReference
| Constructor Summary | |
|---|---|
LoggedActivityReference(org.json.JSONObject json)
|
|
LoggedActivityReference(long activityId,
String name,
String description,
Long activityParentId,
String activityParentName,
int calories,
int duration,
Double distance,
Integer steps)
|
|
| Method Summary | |
|---|---|
static List<LoggedActivityReference> |
constructLoggedActivityReferenceList(Response res)
|
int |
getCalories()
|
Double |
getDistance()
|
int |
getDuration()
|
Integer |
getSteps()
|
| Methods inherited from class com.fitbit.api.common.model.activities.ActivityReference |
|---|
constructActivityReferenceList, getActivityId, getActivityParentId, getActivityParentName, getDescription, getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoggedActivityReference(long activityId,
String name,
String description,
Long activityParentId,
String activityParentName,
int calories,
int duration,
Double distance,
Integer steps)
public LoggedActivityReference(org.json.JSONObject json)
throws org.json.JSONException
org.json.JSONException| Method Detail |
|---|
public static List<LoggedActivityReference> constructLoggedActivityReferenceList(Response res)
throws FitbitAPIException
FitbitAPIExceptionpublic int getCalories()
public int getDuration()
public Double getDistance()
public Integer getSteps()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||