Alarm types:
by rem phase - alarm can go off in time window before alarm time if it will be better or easier for user to wake up.
by sleep quality - alarm will go off when user reach specified sleep quality.
Alarm can go off in time window before alarm time if it will be better or easier for user to wake up.
Alarm will go off when user reach specified sleep quality.
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.