MessageElemType class Null safety Enums

消息类型

Constructors

MessageElemType()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

V2TIM_ELEM_TYPE_CUSTOM → const int
自定义消息
2
V2TIM_ELEM_TYPE_FACE → const int
表情消息
8
V2TIM_ELEM_TYPE_FILE → const int
文件消息
6
V2TIM_ELEM_TYPE_GROUP_TIPS → const int
群 Tips 消息(存消息列表)
9
V2TIM_ELEM_TYPE_IMAGE → const int
图片消息
3
V2TIM_ELEM_TYPE_LOCATION → const int
地理位置消息
7
V2TIM_ELEM_TYPE_NONE → const int
没有元素
0
V2TIM_ELEM_TYPE_SOUND → const int
语音消息
4
V2TIM_ELEM_TYPE_TEXT → const int
文本消息
1
V2TIM_ELEM_TYPE_VIDEO → const int
视频消息
5