com.fitbit.api.common.model.devices
Class Device
java.lang.Object
com.fitbit.api.common.model.devices.Device
public class Device
- extends Object
|
Constructor Summary |
Device(org.json.JSONObject json)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Device
public Device(org.json.JSONObject json)
throws org.json.JSONException
- Throws:
org.json.JSONException
constructDeviceList
public static List<Device> constructDeviceList(Response res)
throws FitbitAPIException
- Throws:
FitbitAPIException
getId
public String getId()
getType
public String getType()
type
public DeviceType type()
getBattery
public String getBattery()
getLastSyncTime
public String getLastSyncTime()
getDeviceVersion
public String getDeviceVersion()
Copyright © 2012. All Rights Reserved.