com.fitbit.api.common.model.achievement
Class Achievement

java.lang.Object
  extended by com.fitbit.api.common.model.achievement.Achievement

public class Achievement
extends Object

Created by IntelliJ IDEA. User: Kiryl Date: 10/18/11 Time: 12:56 AM


Constructor Summary
Achievement(org.json.JSONObject jsonObject)
           
Achievement(long caloriesOut, long floors, double distance, long steps, long activeScore)
           
 
Method Summary
 long getActiveScore()
           
 long getCaloriesOut()
           
 double getDistance()
           
 long getFloors()
           
 long getSteps()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Achievement

public Achievement(long caloriesOut,
                   long floors,
                   double distance,
                   long steps,
                   long activeScore)

Achievement

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

getCaloriesOut

public long getCaloriesOut()

getFloors

public long getFloors()

getDistance

public double getDistance()

getSteps

public long getSteps()

getActiveScore

public long getActiveScore()


Copyright © 2012. All Rights Reserved.