Package com.mikuac.shiro.enums
Enum Class MsgTypeEnum
- All Implemented Interfaces:
Serializable,Comparable<MsgTypeEnum>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription匿名发消息at 某人一种 XML 的图片消息推荐好友/群掷骰子魔法表情表情合并转发礼物图片JSON 消息位置音乐分享合并转发消息节点戳一戳语音红包回复猜拳魔法表情窗口抖动(戳一戳)链接分享文本类型文本转语音短视频XML 消息 -
Method Summary
Modifier and TypeMethodDescriptionstatic MsgTypeEnumReturns the enum constant of this class with the specified name.static MsgTypeEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
at
at 某人 -
text
文本类型 -
face
表情 -
record
语音 -
video
短视频 -
rps
猜拳魔法表情 -
dice
掷骰子魔法表情 -
shake
窗口抖动(戳一戳) -
anonymous
匿名发消息 -
contact
推荐好友/群 -
location
位置 -
music
音乐分享 -
image
图片 -
reply
回复 -
redbag
红包 -
poke
戳一戳 -
gift
礼物 -
forward
合并转发 -
node
合并转发消息节点 -
xml
XML 消息 -
json
JSON 消息 -
cardimage
一种 XML 的图片消息 -
tts
文本转语音
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-