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 booleanisValidMsgType(MsgTypeEnum typeEnum) static MsgTypeEnumstatic 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
表情 -
mface
商城大表情消息 -
marketface
商城大表情消息 -
basketball
投篮表情 -
record
语音 -
video
短视频 -
rps
猜拳魔法表情 -
new_rps
新猜拳表情 -
dice
掷骰子魔法表情 -
new_dice
新掷骰子表情 -
shake
窗口抖动(戳一戳) -
anonymous
匿名发消息 -
contact
推荐好友/群 -
location
位置 -
music
音乐分享 -
image
图片 -
reply
回复 -
redbag
红包 -
poke
戳一戳 -
gift
礼物 -
forward
合并转发 -
markdown
富文本消息 -
keyboard
富文本下的按钮 -
node
合并转发消息节点 -
xml
XML 消息 -
json
JSON 消息 -
cardimage
一种 XML 的图片消息 -
tts
文本转语音 -
longmsg
长消息 -
unknown
未知类型
-
-
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
-
typeOf
-
isValidMsgType
-