public static enum CalendarActivity.Reminder extends Enum<CalendarActivity.Reminder>
Enum Constant and Description |
---|
OFF
a reminder has not been set for this activity
|
ON
a reminder has been set for this activity
|
Modifier and Type | Method and Description |
---|---|
static CalendarActivity.Reminder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CalendarActivity.Reminder[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final CalendarActivity.Reminder OFF
public static final CalendarActivity.Reminder ON
public static CalendarActivity.Reminder[] values()
for (CalendarActivity.Reminder c : CalendarActivity.Reminder.values()) System.out.println(c);
public static CalendarActivity.Reminder valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null