NIMSDK-AOS  9.16.0
| Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
com.netease.nimlib.sdk.msg.attachment.NetCallAttachment类 参考
类 com.netease.nimlib.sdk.msg.attachment.NetCallAttachment 继承关系图:
com.netease.nimlib.sdk.msg.attachment.MsgAttachment

class  Duration
 
class  NetCallAttachmentBuilder
 

Public 成员函数

int getType ()
 
long getChannelId ()
 
int getStatus ()
 
List< Duration > getDurations ()
 
String toJson (boolean send)
 将消息附件序列化为字符串,存储到消息数据库或发送到服务器。
更多...
 

静态 Public 成员函数

static NetCallAttachment fromJson (String jsonString)
 

详细描述

在文件 NetCallAttachment.java11 行定义.

成员函数说明

◆ fromJson()

static NetCallAttachment com.netease.nimlib.sdk.msg.attachment.NetCallAttachment.fromJson ( String  jsonString)
static

在文件 NetCallAttachment.java58 行定义.

◆ getChannelId()

long com.netease.nimlib.sdk.msg.attachment.NetCallAttachment.getChannelId ( )

在文件 NetCallAttachment.java25 行定义.

◆ getDurations()

List<Duration> com.netease.nimlib.sdk.msg.attachment.NetCallAttachment.getDurations ( )

在文件 NetCallAttachment.java33 行定义.

◆ getStatus()

int com.netease.nimlib.sdk.msg.attachment.NetCallAttachment.getStatus ( )

在文件 NetCallAttachment.java29 行定义.

◆ getType()

int com.netease.nimlib.sdk.msg.attachment.NetCallAttachment.getType ( )

在文件 NetCallAttachment.java21 行定义.

◆ toJson()

String com.netease.nimlib.sdk.msg.attachment.NetCallAttachment.toJson ( boolean  send)

将消息附件序列化为字符串,存储到消息数据库或发送到服务器。

参数
send如果你的附件在本地需要存储额外数据,而这些数据不需要发送到服务器,可依据该参数值区别对待。
返回

实现了 com.netease.nimlib.sdk.msg.attachment.MsgAttachment.

在文件 NetCallAttachment.java38 行定义.


该类的文档由以下文件生成: