NIMSDK-AOS  9.16.0
Public 成员函数 | 静态 Public 成员函数 | Public 属性 | 所有成员列表
com.netease.nimlib.sdk.msg.constant.MsgTypeEnum 枚举类型参考

消息类型定义 更多...

Public 成员函数

 MsgTypeEnum (int value, String sendMessageTip)
 
final int getValue ()
 
final String getSendMessageTip ()
 

静态 Public 成员函数

static MsgTypeEnum typeOfValue (int value)
 

Public 属性

 undef =(-1, "Unknown")
 未知消息类型 更多...
 
 text =(ITalkService.MsgType.text, "")
 文本消息类型 更多...
 
 image =(ITalkService.MsgType.image, "图片")
 图片消息 更多...
 
 audio =(ITalkService.MsgType.audio, "语音")
 音频消息 更多...
 
 video =(ITalkService.MsgType.video, "视频")
 视频消息 更多...
 
 location =(ITalkService.MsgType.location, "位置")
 位置消息 更多...
 
 file =(ITalkService.MsgType.file, "文件")
 文件消息 更多...
 
 avchat =(ITalkService.MsgType.avchat, "音视频通话")
 音视频通话 更多...
 
 notification =(ITalkService.MsgType.notification, "通知消息")
 通知消息 更多...
 
 tip =(ITalkService.MsgType.tip, "提醒消息")
 提醒类型消息 更多...
 
 robot =(ITalkService.MsgType.robot, "机器人消息")
 机器人消息 更多...
 
 nrtc_netcall =(ITalkService.MsgType.nrtc_netcall, "通话记录")
 G2话单消息 更多...
 
 custom =(ITalkService.MsgType.custom, "自定义消息")
 第三方APP自定义消息 更多...
 
 appCustom =(ITalkService.MsgType.appCustom, "七鱼接入方自定义消息")
 七鱼接入方自定义的消息 更多...
 
 qiyuCustom =(ITalkService.MsgType.qiyuCustom, "七鱼custom消息")
 七鱼类型的 custom 消息 更多...
 
 qchatCustom =(ITalkService.MsgType.qchatCustom, "圈组自定义消息")
 圈组自定义消息 更多...
 
final String sendMessageTip
 

详细描述

消息类型定义

在文件 MsgTypeEnum.java8 行定义.

构造及析构函数说明

◆ MsgTypeEnum()

com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.MsgTypeEnum ( int  value,
String  sendMessageTip 
)

在文件 MsgTypeEnum.java94 行定义.

成员函数说明

◆ getSendMessageTip()

final String com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.getSendMessageTip ( )

在文件 MsgTypeEnum.java113 行定义.

◆ getValue()

final int com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.getValue ( )

在文件 MsgTypeEnum.java109 行定义.

◆ typeOfValue()

static MsgTypeEnum com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.typeOfValue ( int  value)
static

在文件 MsgTypeEnum.java99 行定义.

类成员变量说明

◆ appCustom

com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.appCustom =(ITalkService.MsgType.appCustom, "七鱼接入方自定义消息")

七鱼接入方自定义的消息

在文件 MsgTypeEnum.java78 行定义.

◆ audio

com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.audio =(ITalkService.MsgType.audio, "语音")

音频消息

在文件 MsgTypeEnum.java28 行定义.

◆ avchat

com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.avchat =(ITalkService.MsgType.avchat, "音视频通话")

音视频通话

在文件 MsgTypeEnum.java48 行定义.

◆ custom

com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.custom =(ITalkService.MsgType.custom, "自定义消息")

第三方APP自定义消息

在文件 MsgTypeEnum.java73 行定义.

◆ file

com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.file =(ITalkService.MsgType.file, "文件")

文件消息

在文件 MsgTypeEnum.java43 行定义.

◆ image

com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.image =(ITalkService.MsgType.image, "图片")

图片消息

在文件 MsgTypeEnum.java23 行定义.

◆ location

com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.location =(ITalkService.MsgType.location, "位置")

位置消息

在文件 MsgTypeEnum.java38 行定义.

◆ notification

com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.notification =(ITalkService.MsgType.notification, "通知消息")

通知消息

在文件 MsgTypeEnum.java53 行定义.

◆ nrtc_netcall

com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.nrtc_netcall =(ITalkService.MsgType.nrtc_netcall, "通话记录")

G2话单消息

在文件 MsgTypeEnum.java68 行定义.

◆ qchatCustom

com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.qchatCustom =(ITalkService.MsgType.qchatCustom, "圈组自定义消息")

圈组自定义消息

在文件 MsgTypeEnum.java87 行定义.

◆ qiyuCustom

com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.qiyuCustom =(ITalkService.MsgType.qiyuCustom, "七鱼custom消息")

七鱼类型的 custom 消息

在文件 MsgTypeEnum.java83 行定义.

◆ robot

com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.robot =(ITalkService.MsgType.robot, "机器人消息")

机器人消息

在文件 MsgTypeEnum.java63 行定义.

◆ sendMessageTip

final String com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.sendMessageTip

在文件 MsgTypeEnum.java92 行定义.

◆ text

com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.text =(ITalkService.MsgType.text, "")

文本消息类型

在文件 MsgTypeEnum.java18 行定义.

◆ tip

com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.tip =(ITalkService.MsgType.tip, "提醒消息")

提醒类型消息

在文件 MsgTypeEnum.java58 行定义.

◆ undef

com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.undef =(-1, "Unknown")

未知消息类型

在文件 MsgTypeEnum.java13 行定义.

◆ video

com.netease.nimlib.sdk.msg.constant.MsgTypeEnum.video =(ITalkService.MsgType.video, "视频")

视频消息

在文件 MsgTypeEnum.java33 行定义.


枚举说明文档从下列文件生成: