com.fitbit.api.common.model.devices
Class Scale

java.lang.Object
  extended by com.fitbit.api.common.model.devices.Scale

public class Scale
extends Object


Constructor Summary
Scale(org.json.JSONObject json)
           
 
Method Summary
 String getBattery()
           
 int getBrightness()
           
 String getColor()
           
 String getDefaultUnit()
           
 String getFirmwareVersion()
           
 String getId()
           
 String getLastMeasurementTime()
           
 String getLastMeasurementTimeForMe()
           
 String getLastSyncTime()
           
 String getName()
           
 String getNetwork()
           
 String getVersion()
           
static List<Scale> jsonArrayToScalesList(org.json.JSONArray array)
           
 ScaleVersion version()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scale

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

jsonArrayToScalesList

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

getId

public String getId()

getName

public String getName()

getNetwork

public String getNetwork()

getBattery

public String getBattery()

getLastSyncTime

public String getLastSyncTime()

getLastMeasurementTime

public String getLastMeasurementTime()

getLastMeasurementTimeForMe

public String getLastMeasurementTimeForMe()

getDefaultUnit

public String getDefaultUnit()

getBrightness

public int getBrightness()

getColor

public String getColor()

getVersion

public String getVersion()

version

public ScaleVersion version()

getFirmwareVersion

public String getFirmwareVersion()


Copyright © 2012. All Rights Reserved.