NIMSDK-AOS  10.9.76
Public 成员函数 | 所有成员列表
com.netease.nimlib.sdk.v2.friend.V2NIMFriend接口 参考

好友信息 更多...

Public 成员函数

String getAccountId ()
 好友账号ID 更多...
 
String getAlias ()
 好友备注 长度限制:128字符 更多...
 
String getServerExtension ()
 用户扩展字段,建议使用json格式, 可客户端,OpenApi设置 长度限制:256字符 更多...
 
String getCustomerExtension ()
 用户扩展字段,建议使用json格式, 仅OpenApi设置 长度限制:256字符 更多...
 
long getCreateTime ()
 好友信息创建时间 更多...
 
long getUpdateTime ()
 好友信息更新时间 更多...
 
V2NIMUser getUserProfile ()
 获取好友对应的用户信息 更多...
 

详细描述

好友信息

在文件 V2NIMFriend.java8 行定义.

成员函数说明

String com.netease.nimlib.sdk.v2.friend.V2NIMFriend.getAccountId ( )

好友账号ID

String com.netease.nimlib.sdk.v2.friend.V2NIMFriend.getAlias ( )

好友备注 长度限制:128字符

返回
好友备注
long com.netease.nimlib.sdk.v2.friend.V2NIMFriend.getCreateTime ( )

好友信息创建时间

返回
好友信息创建时间
String com.netease.nimlib.sdk.v2.friend.V2NIMFriend.getCustomerExtension ( )

用户扩展字段,建议使用json格式, 仅OpenApi设置 长度限制:256字符

返回
用户扩展字段
String com.netease.nimlib.sdk.v2.friend.V2NIMFriend.getServerExtension ( )

用户扩展字段,建议使用json格式, 可客户端,OpenApi设置 长度限制:256字符

返回
用户扩展字段
long com.netease.nimlib.sdk.v2.friend.V2NIMFriend.getUpdateTime ( )

好友信息更新时间

返回
好友信息更新时间
V2NIMUser com.netease.nimlib.sdk.v2.friend.V2NIMFriend.getUserProfile ( )

获取好友对应的用户信息

返回
好友对应的用户信息

该接口的文档由以下文件生成: