NIM Unity SDK
V2.4.2
|
静态 Public 成员函数 | |
static void | RegisterCallbacks () |
static void | GetFriendsList (GetFriendsListResultDelegate cb) |
获取缓存好友列表 更多... | |
static void | ProcessFriendRequest (string accid, NIMVerifyType verifyType, string msg, FriendOperationDelegate cb) |
添加、验证好友 更多... | |
static void | GetFriendProfile (string accountId, GetFriendProfileResultDelegate cb) |
获取缓存好友信息 更多... | |
static void | DeleteFriend (string accid, FriendOperationDelegate cb) |
删除好友 更多... | |
static void | UpdateFriendInfo (NIMFriendProfile profile, FriendOperationDelegate cb) |
更新好友资料 更多... | |
static bool | IsActiveFriend (string accid) |
在本地缓存数据中查询accid是否为自己的好友 更多... | |
静态 Public 属性 | |
static EventHandler< NIMFriendProfileChangedArgs > | FriendProfileChangedHandler |
|
inlinestatic |
获取缓存好友列表
cb |
|
inlinestatic |
添加、验证好友
accid | 对方账号 |
verifyType | 验证类型 |
msg | |
cb | 操作结果回调 |
|
inlinestatic |
获取缓存好友信息
accountId | |
cb |
|
inlinestatic |
删除好友
accid | 对方账号 |
cb | 操作结果回调 |
|
inlinestatic |
更新好友资料
profile | |
cb |
|
inlinestatic |
在本地缓存数据中查询accid是否为自己的好友
accid | 好友id |