com.fitbit.api.common.model.activities
Class Activity

java.lang.Object
  extended by com.fitbit.api.common.model.activities.DisplayableActivity
      extended by com.fitbit.api.common.model.activities.Activity

public class Activity
extends DisplayableActivity


Constructor Summary
Activity(org.json.JSONObject json)
           
 
Method Summary
static Activity constructActivity(org.json.JSONObject json)
           
 String getAccessLevel()
           
 List<ActivityLevel> getActivityLevels()
           
 boolean getHasSpeed()
           
 Double getMets()
           
 boolean hasLevels()
           
 
Methods inherited from class com.fitbit.api.common.model.activities.DisplayableActivity
getId, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activity

public Activity(org.json.JSONObject json)
         throws org.json.JSONException
Throws:
org.json.JSONException
Method Detail

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.