com.fitbit.api.common.model.activities
Class Activity
java.lang.Object
com.fitbit.api.common.model.activities.DisplayableActivity
com.fitbit.api.common.model.activities.Activity
public class Activity
- extends DisplayableActivity
|
Constructor Summary |
Activity(org.json.JSONObject json)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Activity
public Activity(org.json.JSONObject json)
throws org.json.JSONException
- Throws:
org.json.JSONException
constructActivity
public static Activity constructActivity(org.json.JSONObject json)
throws org.json.JSONException
- Throws:
org.json.JSONException
getAccessLevel
public String getAccessLevel()
getHasSpeed
public boolean getHasSpeed()
getMets
public Double getMets()
getActivityLevels
public List<ActivityLevel> getActivityLevels()
hasLevels
public boolean hasLevels()
Copyright © 2012. All Rights Reserved.