com.fitbit.api.common.model.timeseries
Class IntradayData

java.lang.Object
  extended by com.fitbit.api.common.model.timeseries.IntradayData

public class IntradayData
extends Object


Constructor Summary
IntradayData(org.json.JSONObject json)
           
IntradayData(String time, double value)
           
 
Method Summary
 Integer getLevel()
           
 String getTime()
           
 double getValue()
           
static List<IntradayData> jsonArrayToDataList(org.json.JSONArray array)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntradayData

public IntradayData(String time,
                    double value)

IntradayData

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

getTime

public String getTime()

getValue

public double getValue()

getLevel

public Integer getLevel()

jsonArrayToDataList

public static List<IntradayData> jsonArrayToDataList(org.json.JSONArray array)
                                              throws org.json.JSONException
Throws:
org.json.JSONException


Copyright © 2012. All Rights Reserved.