|
NIM PC Cross Platform SDK
|
SDK用户信息辅助方法 More...
#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"#include "public_defines.h"Go to the source code of this file.
Classes | |
| struct | nim::UserNameCard |
| 云信用户名片 More... | |
| struct | nim::BlackMuteListInfo |
| 黑名单 静音名单信息 More... | |
| struct | nim::SpecialRelationshipChangeEvent |
| 黑名单和静音名单变更通知 More... | |
Namespaces | |
| namespace | nim |
| namespace nim | |
Enumerations | |
| enum | nim::UserNameCardValueKey { nim::kUserNameCardKeyNone = 0 , nim::kUserNameCardKeyName = 1 , nim::kUserNameCardKeyIconUrl = 1 << 1 , nim::kUserNameCardKeyGender = 1 << 2 , nim::kUserNameCardKeyBirthday = 1 << 3 , nim::kUserNameCardKeyMobile = 1 << 4 , nim::kUserNameCardKeyEmail = 1 << 5 , nim::kUserNameCardKeySignature = 1 << 6 , nim::kUserNameCardKeyEx = 1 << 7 , nim::kUserNameCardKeyAll = (1 << 8) - 1 } |
Functions | |
| bool | nim::ParseNameCards (const std::string &namecards_json, std::list< UserNameCard > &namecards) |
| 解析用户名片 More... | |
| bool | nim::ParseNameCards (const nim_cpp_wrapper_util::Json::Value &namecards_json, std::list< UserNameCard > &namecards) |
| 解析用户名片 More... | |
| bool | nim::ParseNameCard (const std::string &namecard_json, UserNameCard &namecard) |
| 解析用户名片 More... | |
| void | nim::ParseNameCard (const nim_cpp_wrapper_util::Json::Value &namecard_json, UserNameCard &namecard) |
| 解析用户名片 More... | |
| bool | nim::ParseSpecialListInfo (const std::string &list_json, std::list< BlackMuteListInfo > &mute_black_list) |
| 解析黑名单/静音列表 More... | |
SDK用户信息辅助方法