NIM Unity SDK V2.6.0
|
静态 Public 成员函数 | |
static void | SetBlacklist (string accountId, bool inBlacklist, UserOperationDelegate cb) |
设置、取消设置黑名单. | |
static void | SetUserMuted (string accountId, bool isMuted, UserOperationDelegate cb) |
设置、取消设置静音名单 | |
static void | GetRelationshipList (GetUserRelationshipResuleDelegate resultDelegate) |
获取用户关系列表(黑名单和静音列表) | |
static void | GetUserNameCard (List< string > accountIdList, GetUserNameCardResultDelegate resultDelegate) |
获取本地的指定帐号的用户名片 | |
static void | QueryUserNameCardOnline (List< string > accountIdList, GetUserNameCardResultDelegate resultDelegate) |
在线查询指定帐号的用户名片 | |
static void | UpdateMyCard (UserNameCard card, UpdateNameCardResultDelegate d) |
更新用户名片 | |
static void | UpdatePushToken (string certificateName, string token, int type) |
更新推送证书名和token | |
静态 Public 属性 | |
static EventHandler< UserNameCardChangedArgs > | UserNameCardChangedHandler |
static EventHandler< UserRelationshipSyncArgs > | UserRelationshipListSyncHander |
static EventHandler< UserRelationshipChangedArgs > | UserRelationshipChangedHandler |
|
inlinestatic |
设置、取消设置黑名单.
accountId | 好友id. |
inBlacklist | if set to true [set_black]. |
cb | 操作结果回调. |
|
inlinestatic |
设置、取消设置静音名单
accountId | 好友id |
isMuted | 取消或设置 |
cb | 操作结果回调 |
|
inlinestatic |
获取用户关系列表(黑名单和静音列表)
resultDelegate |
|
inlinestatic |
获取本地的指定帐号的用户名片
accountIdList | |
resultDelegate |
|
inlinestatic |
在线查询指定帐号的用户名片
accountIdList | |
resultDelegate |
|
inlinestatic |
更新用户名片
card | |
d |
|
inlinestatic |
更新推送证书名和token
certificateName | 在云信管理后台配置的证书名 |
token | 推送token |
type | 仅iOS需要 1 表示pushkit,0 表示apns |