public enum RespMessageType extends Enum<RespMessageType>
| Enum Constant and Description |
|---|
CS |
IMAGE |
MUSIC |
NEWS |
TEXT |
VIDEO |
VOICE |
| Modifier and Type | Method and Description |
|---|---|
String |
desc() |
String |
value() |
static RespMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RespMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RespMessageType TEXT
public static final RespMessageType IMAGE
public static final RespMessageType VOICE
public static final RespMessageType VIDEO
public static final RespMessageType MUSIC
public static final RespMessageType NEWS
public static final RespMessageType CS
public static RespMessageType[] values()
for (RespMessageType c : RespMessageType.values()) System.out.println(c);
public static RespMessageType 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 value()
public String desc()
Copyright © 2019. All rights reserved.