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

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

public class Device
extends Object


Constructor Summary
Device(org.json.JSONObject json)
           
 
Method Summary
static List<Device> constructDeviceList(Response res)
           
 String getBattery()
           
 String getDeviceVersion()
           
 String getId()
           
 String getLastSyncTime()
           
 String getType()
           
 DeviceType type()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Device

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

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.