NIM SDK API  8.5.1
Classes | Namespaces | Enumerations | Functions
nim_user_helper.h File Reference

SDK用户信息辅助方法 More...

#include <assert.h>
#include <list>
#include <string>
#include "nim_define_include.h"
#include "nim_cpp_wrapper/nim_sdk_cpp_wrapper.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

 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

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseNameCards (const std::string &namecards_json, std::list< UserNameCard > &namecards)
 解析用户名片 More...
 
NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseNameCards (const nim_cpp_wrapper_util::Json::Value &namecards_json, std::list< UserNameCard > &namecards)
 解析用户名片 More...
 
NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseNameCard (const std::string &namecard_json, UserNameCard &namecard)
 解析用户名片 More...
 
NIM_SDK_CPPWRAPPER_DLL_API void nim::ParseNameCard (const nim_cpp_wrapper_util::Json::Value &namecard_json, UserNameCard &namecard)
 解析用户名片 More...
 
NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseSpecialListInfo (const std::string &list_json, std::list< BlackMuteListInfo > &black_mute_list)
 解析黑名单/静音列表 More...
 

Detailed Description

SDK用户信息辅助方法

Date
2015/10/20