public static enum MsgContent.TypeEnum extends Enum<MsgContent.TypeEnum>
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static MsgContent.TypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MsgContent.TypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MsgContent.TypeEnum TXT
public static final MsgContent.TypeEnum IMG
public static final MsgContent.TypeEnum AUDIO
public static final MsgContent.TypeEnum VIDEO
public static final MsgContent.TypeEnum CMD
public static MsgContent.TypeEnum[] values()
for (MsgContent.TypeEnum c : MsgContent.TypeEnum.values()) System.out.println(c);
public static MsgContent.TypeEnum 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 nullpublic String toString()
toString in class Enum<MsgContent.TypeEnum>Copyright © 2017. All rights reserved.