JMSGContentType Constants Reference
Declared in | JMSGConstants.h |
---|
JMSGContentType
消息内容类型 - 文本、语音、图片等
Definition
typedef NS_ENUM(NSInteger, JMSGContentType ) {
kJMSGContentTypeUnknown = 0,
kJMSGContentTypeText = 1,
kJMSGContentTypeImage = 2,
kJMSGContentTypeVoice = 3,
kJMSGContentTypeCustom = 4,
kJMSGContentTypeEventNotification = 5,
kJMSGContentTypeFile = 6,
kJMSGContentTypeLocation = 7,
kJMSGContentTypePrompt = 8,
kJMSGContentTypeVideo = 9,
};
Constants
kJMSGContentTypeUnknown
-
不知道类型的消息
Declared In
JMSGConstants.h
. kJMSGContentTypeText
-
文本消息
Declared In
JMSGConstants.h
. kJMSGContentTypeImage
-
图片消息
Declared In
JMSGConstants.h
. kJMSGContentTypeVoice
-
语音消息
Declared In
JMSGConstants.h
. kJMSGContentTypeCustom
-
自定义消息
Declared In
JMSGConstants.h
. kJMSGContentTypeEventNotification
-
事件通知消息。服务器端下发的事件通知,本地展示为这个类型的消息展示出来
Declared In
JMSGConstants.h
. kJMSGContentTypeFile
-
文件消息
Declared In
JMSGConstants.h
. kJMSGContentTypeLocation
-
地理位置消息
Declared In
JMSGConstants.h
. kJMSGContentTypePrompt
-
提示性消息
Declared In
JMSGConstants.h
. kJMSGContentTypeVideo
-
视频消息
Declared In
JMSGConstants.h
.
Declared In
JMSGConstants.h