com.fitbit.api.common.model.sleep
Class SleepLog
java.lang.Object
com.fitbit.api.common.model.sleep.SleepLog
public class SleepLog
- extends Object
|
Constructor Summary |
SleepLog(org.json.JSONObject json)
|
SleepLog(long logId,
String startTime,
boolean mainSleep,
long duration,
int minutesToFallAsleep,
int minutesAsleep,
int minutesAwake,
int minutesAfterWakeup,
int awakeningsCount,
int timeInBed,
int efficiency)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SleepLog
public SleepLog(long logId,
String startTime,
boolean mainSleep,
long duration,
int minutesToFallAsleep,
int minutesAsleep,
int minutesAwake,
int minutesAfterWakeup,
int awakeningsCount,
int timeInBed,
int efficiency)
SleepLog
public SleepLog(org.json.JSONObject json)
throws org.json.JSONException
- Throws:
org.json.JSONException
getLogId
public long getLogId()
getStartTime
public String getStartTime()
isMainSleep
public boolean isMainSleep()
getDuration
public long getDuration()
getMinutesToFallAsleep
public int getMinutesToFallAsleep()
getMinutesAsleep
public int getMinutesAsleep()
getMinutesAwake
public int getMinutesAwake()
getMinutesAfterWakeup
public int getMinutesAfterWakeup()
getAwakeningsCount
public int getAwakeningsCount()
getTimeInBed
public int getTimeInBed()
getEfficiency
public int getEfficiency()
Copyright © 2012. All Rights Reserved.