public static enum Message.Category extends Enum<Message.Category>
Enum Constant and Description |
---|
INCOMING_CALL |
SCHEDULE_REMINDER |
SMS |
Modifier and Type | Method and Description |
---|---|
static Message.Category |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.Category SMS
public static final Message.Category INCOMING_CALL
public static final Message.Category SCHEDULE_REMINDER
public String text
public static Message.Category[] values()
for (Message.Category c : Message.Category.values()) System.out.println(c);
public static Message.Category 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 nullCopyright © 2016 4th Line GmbH, Switzerland. All rights reserved.