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::UserNameCard |
云信用户名片 更多... | |
struct | nim::BlackMuteListInfo |
黑名单 静音名单信息 更多... | |
struct | nim::SpecialRelationshipChangeEvent |
黑名单和静音名单变更通知 更多... | |
命名空间 | |
namespace | nim |
namespace nim | |
枚举 | |
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::kUserNameCardKeyModelType = 1 << 8 , nim::kUserNameCardKeyModelConfig = 1 << 9 , nim::kUserNameCardKeyAll = (1 << 10) - 1 } |
函数 | |
bool | nim::ParseNameCards (const std::string &namecards_json, std::list< UserNameCard > &namecards) |
解析数字人用户名片 | |
bool | nim::ParseNameCards (const nim_cpp_wrapper_util::Json::Value &namecards_json, std::list< UserNameCard > &namecards) |
解析数字人用户名片 | |
bool | nim::ParseNameCard (const std::string &namecard_json, UserNameCard &namecard) |
解析数字人用户名片 | |
void | nim::ParseNameCard (const nim_cpp_wrapper_util::Json::Value &namecard_json, UserNameCard &namecard) |
解析数字人用户名片 | |
bool | nim::ParseSpecialListInfo (const std::string &list_json, std::list< BlackMuteListInfo > &mute_black_list) |
解析黑名单/静音列表 | |
SDK用户信息辅助方法