public enum CustomMessageType extends Enum<CustomMessageType>
| Enum Constant and Description |
|---|
image |
mpnews |
music |
news |
text |
video |
voice |
| Modifier and Type | Method and Description |
|---|---|
static CustomMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomMessageType text
public static final CustomMessageType image
public static final CustomMessageType voice
public static final CustomMessageType video
public static final CustomMessageType music
public static final CustomMessageType news
public static final CustomMessageType mpnews
public static CustomMessageType[] values()
for (CustomMessageType c : CustomMessageType.values()) System.out.println(c);
public static CustomMessageType 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 © 2015. All rights reserved.