![]() |
NIM 跨平台 C++ SDK
|
SDK好友辅助方法 更多...
#include <assert.h>#include <list>#include <string>#include "nim_cpp_wrapper/nim_sdk_cpp_wrapper.h"#include "nim_define_include.h"#include "nim_wrapper_util/nim_json_util.h"类 | |
| struct | nim::DeleteFriendOption |
| 删除好有拓展选项 更多... | |
| struct | nim::FriendProfile |
| 云信好友 更多... | |
| struct | nim::FriendChangeEvent |
| 云信好友变更事件 更多... | |
| struct | nim::FriendAddEvent |
| 云信好友变更事件(请求添加) 更多... | |
| struct | nim::FriendDelEvent |
| 云信好友变更事件(删除) 更多... | |
| struct | nim::FriendProfileUpdateEvent |
| 云信好友变更事件(更新) 更多... | |
| struct | nim::FriendProfileSyncEvent |
| 云信好友变更事件(多端同步) 更多... | |
命名空间 | |
| namespace | nim |
| namespace nim | |
函数 | |
| bool | nim::ParseFriendsProfile (const std::string &friends_profile_json, std::list< FriendProfile > &profiles) |
| 解析(多)好友信息 | |
| bool | nim::ParseFriendProfile (const std::string &friend_profile_json, FriendProfile &profile) |
| 解析(单个)好友信息 | |
| void | nim::ParseFriendProfile (const nim_cpp_wrapper_util::Json::Value &friend_profile_json, FriendProfile &profile) |
| 解析(单个)好友信息 | |
变量 | |
| kFriendProfileKeyNone = 0 | |
| 无数据 | |
| kFriendProfileKeyRelationship = 1 | |
| 主动好友关系 | |
| kFriendProfileKeyPassiveRelationship = 1 << 1 | |
| 被动好友关系 | |
| kFriendProfileKeySource = 1 << 2 | |
| 好友来源 | |
| kFriendProfileKeyAlias = 1 << 3 | |
| 别称 | |
| kFriendProfileKeyBits = 1 << 4 | |
| 扩展项,int64 | |
| kFriendProfileKeyEx = 1 << 5 | |
| 扩展项,json value | |
| kFriendProfileKeyServerEx = 1 << 6 | |
| 服务端扩展项,string 只读 | |
SDK好友辅助方法
| kFriendProfileKeyAlias = 1 << 3 |
别称
| kFriendProfileKeyBits = 1 << 4 |
扩展项,int64
| kFriendProfileKeyEx = 1 << 5 |
扩展项,json value
| kFriendProfileKeyNone = 0 |
无数据
| kFriendProfileKeyPassiveRelationship = 1 << 1 |
被动好友关系
| kFriendProfileKeyRelationship = 1 |
主动好友关系
| kFriendProfileKeyServerEx = 1 << 6 |
服务端扩展项,string 只读
| kFriendProfileKeySource = 1 << 2 |
好友来源