|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<WriteReason>
com.myzeo.decoder.WriteReason
public enum WriteReason
Specifies the reason this record was written to the SD card.
Enum Constant Summary | |
---|---|
FS_REASON_24_HOUR_UPDATE
Record is written out at noon every day. |
|
FS_REASON_ALARM_OFF
A ringing alarm was turned off, either by the user or because it timed out. |
|
FS_REASON_CARD_INSERT
Unit was powered on with SD card inserted, or SD card was inserted in a unit that was already powered on. |
|
FS_REASON_NIGHT_END
Sleep algorithm transitioned from tentative idle mode to idle mode. |
|
FS_REASON_SLEEP_RATED
When the user enters a 'morning feel' sleep rating on the bedside display, a write is triggered. |
|
FS_REASON_TENTATIVE_NIGHT_END
Sleep algorithm transitioned from active mode to tentative idle mode. |
Method Summary | |
---|---|
static WriteReason |
convert(int i)
|
static WriteReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static WriteReason[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final WriteReason FS_REASON_TENTATIVE_NIGHT_END
public static final WriteReason FS_REASON_NIGHT_END
public static final WriteReason FS_REASON_ALARM_OFF
public static final WriteReason FS_REASON_CARD_INSERT
public static final WriteReason FS_REASON_24_HOUR_UPDATE
public static final WriteReason FS_REASON_SLEEP_RATED
Method Detail |
---|
public static WriteReason[] values()
for (WriteReason c : WriteReason.values()) System.out.println(c);
public static WriteReason valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static WriteReason convert(int i)
|
Copyright © 2010, Zeo, Inc. All rights reserved. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |