public enum ReminderType extends java.lang.Enum<ReminderType>
| Enum Constant and Description |
|---|
Exact
Trigger the reminder at the exact time specified by its
getTime method. |
Leading
Trigger the reminder at the time specified by
getTimeInterval
before the item's scheduled start time. |
| Modifier and Type | Method and Description |
|---|---|
static ReminderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReminderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReminderType Exact
getTime method.
Note: Recurring items cannot have exact reminders.
public static final ReminderType Leading
getTimeInterval
before the item's scheduled start time.
Note: Tasks cannot have leading reminders.
public static ReminderType[] values()
for (ReminderType c : ReminderType.values()) System.out.println(c);
public static ReminderType 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 namejava.lang.NullPointerException - if the argument is null