com.fitbit.api.common.model.devices
Class Scale
java.lang.Object
com.fitbit.api.common.model.devices.Scale
public class Scale
- extends Object
|
Constructor Summary |
Scale(org.json.JSONObject json)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Scale
public Scale(org.json.JSONObject json)
throws org.json.JSONException
- Throws:
org.json.JSONException
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.