云信好友
More...
#include <nim_friend_helper.h>
|
std::string | accid_ |
| 用户账号
|
|
NIMFriendFlag | relationship_ |
| 主动的好友关系
|
|
NIMFriendFlag | passive_relationship_ |
| 被动的好友关系
|
|
NIMFriendSource | source_ |
| 好友来源
|
|
std::string | alias_ |
| 好友别名
|
|
int64_t | bits_ |
| 扩展数据
|
|
nim_cpp_wrapper_util::Json::Value | expand_ |
| 扩展数据
|
|
unsigned int | value_available_flag_ |
| 好友数据有效性,结合好友Key使用
|
|
std::string | server_expand_ |
| 扩展数据
|
|
int64_t | create_timetag_ |
| 好友创建时间戳(毫秒)
|
|
int64_t | update_timetag_ |
| 好友更新时间戳(毫秒)
|
|
◆ FriendProfile() [1/2]
nim::FriendProfile::FriendProfile |
( |
| ) |
|
|
inline |
◆ FriendProfile() [2/2]
nim::FriendProfile::FriendProfile |
( |
const std::string & |
accid | ) |
|
|
inline |
◆ ExistValue()
bool nim::FriendProfile::ExistValue |
( |
FriendProfileKey |
value_key | ) |
const |
|
inline |
好友信息数据标记Key对应的数据是否有效(存在,非初始值状态)
- Parameters
-
- Returns
- bool 有效性
◆ GetAccId()
std::string nim::FriendProfile::GetAccId |
( |
| ) |
const |
|
inline |
◆ GetAlias()
std::string nim::FriendProfile::GetAlias |
( |
| ) |
const |
|
inline |
◆ GetBits()
int64_t nim::FriendProfile::GetBits |
( |
| ) |
const |
|
inline |
◆ GetCreateTimetag()
int64_t nim::FriendProfile::GetCreateTimetag |
( |
| ) |
const |
|
inline |
◆ GetEx()
◆ GetPassiveRelationship()
NIMFriendFlag nim::FriendProfile::GetPassiveRelationship |
( |
| ) |
const |
|
inline |
◆ GetRelationship()
◆ GetServerEx()
std::string nim::FriendProfile::GetServerEx |
( |
| ) |
const |
|
inline |
◆ GetSource()
◆ GetUpdateTimetag()
int64_t nim::FriendProfile::GetUpdateTimetag |
( |
| ) |
const |
|
inline |
◆ SetAccId()
void nim::FriendProfile::SetAccId |
( |
const std::string & |
accid | ) |
|
|
inline |
◆ SetAlias()
void nim::FriendProfile::SetAlias |
( |
const std::string & |
alias | ) |
|
|
inline |
◆ SetBits()
void nim::FriendProfile::SetBits |
( |
int64_t |
bits | ) |
|
|
inline |
◆ SetCreateTimetag()
void nim::FriendProfile::SetCreateTimetag |
( |
int64_t |
timetag | ) |
|
|
inline |
◆ SetEx()
◆ SetPassiveRelationship()
void nim::FriendProfile::SetPassiveRelationship |
( |
NIMFriendFlag |
flag | ) |
|
|
inline |
◆ SetRelationship()
◆ SetServerEx()
void nim::FriendProfile::SetServerEx |
( |
const std::string & |
srv_ex | ) |
|
|
inline |
◆ SetSource()
◆ SetUpdateTimetag()
void nim::FriendProfile::SetUpdateTimetag |
( |
int64_t |
timetag | ) |
|
|
inline |
◆ ToJsonString()
std::string nim::FriendProfile::ToJsonString |
( |
| ) |
const |
|
inline |
组装Json Value字符串
- Returns
- string Json Value字符串
◆ Update()
更新好友数据
- Parameters
-
- Returns
- void
The documentation for this struct was generated from the following file: