群组信息
更多...
#include <nim_team_helper.h>
◆ TeamInfo() [1/2]
nim::TeamInfo::TeamInfo |
( |
const std::string & |
team_id, |
|
|
const nim::NIMTeamType |
type |
|
) |
| |
|
inline |
◆ TeamInfo() [2/2]
nim::TeamInfo::TeamInfo |
( |
| ) |
|
|
inline |
◆ ExistValue()
bool nim::TeamInfo::ExistValue |
( |
const std::string & |
nim_team_info_key | ) |
const |
|
inline |
群组信息数据标记Key对应的数据是否有效(存在,非初始值状态)
- 参数
-
- 返回
- bool 有效性
◆ GetAnnouncement()
std::string nim::TeamInfo::GetAnnouncement |
( |
| ) |
const |
|
inline |
◆ GetBeInviteMode()
◆ GetCreateTimetag()
int64_t nim::TeamInfo::GetCreateTimetag |
( |
| ) |
const |
|
inline |
◆ GetCustom()
std::string nim::TeamInfo::GetCustom |
( |
| ) |
const |
|
inline |
◆ GetIcon()
std::string nim::TeamInfo::GetIcon |
( |
| ) |
const |
|
inline |
◆ GetIntro()
std::string nim::TeamInfo::GetIntro |
( |
| ) |
const |
|
inline |
◆ GetInviteMode()
◆ GetJoinMode()
nim::NIMTeamJoinMode nim::TeamInfo::GetJoinMode |
( |
| ) |
const |
|
inline |
◆ GetLevel()
int nim::TeamInfo::GetLevel |
( |
| ) |
const |
|
inlineprivate |
◆ GetMemberCount()
int nim::TeamInfo::GetMemberCount |
( |
| ) |
const |
|
inline |
◆ GetMemberListTimetag()
int64_t nim::TeamInfo::GetMemberListTimetag |
( |
| ) |
const |
|
inline |
获取群组成员档案时间戳(毫秒),通常情况下由SDK维护,开发者作为只读无需设置
◆ GetMemberMaxCount()
int nim::TeamInfo::GetMemberMaxCount |
( |
| ) |
const |
|
inline |
◆ GetMuteType()
◆ GetName()
std::string nim::TeamInfo::GetName |
( |
| ) |
const |
|
inline |
◆ GetOwnerID()
std::string nim::TeamInfo::GetOwnerID |
( |
| ) |
const |
|
inline |
◆ GetProperty()
std::string nim::TeamInfo::GetProperty |
( |
| ) |
const |
|
inline |
◆ GetServerCustom()
std::string nim::TeamInfo::GetServerCustom |
( |
| ) |
const |
|
inline |
◆ GetTeamID()
std::string nim::TeamInfo::GetTeamID |
( |
| ) |
const |
|
inline |
◆ GetType()
nim::NIMTeamType nim::TeamInfo::GetType |
( |
| ) |
const |
|
inline |
◆ GetUpdateCustomMode()
◆ GetUpdateInfoMode()
◆ GetUpdateTimetag()
int64_t nim::TeamInfo::GetUpdateTimetag |
( |
| ) |
const |
|
inline |
◆ IsMemberValid()
bool nim::TeamInfo::IsMemberValid |
( |
| ) |
const |
|
inline |
◆ IsValid()
bool nim::TeamInfo::IsValid |
( |
| ) |
const |
|
inline |
◆ operator=()
void nim::TeamInfo::operator= |
( |
const TeamInfo & |
new_info | ) |
|
|
inline |
◆ SetAnnouncement()
void nim::TeamInfo::SetAnnouncement |
( |
const std::string & |
announcement | ) |
|
|
inline |
◆ SetBeInviteMode()
◆ SetCreateTimetag()
void nim::TeamInfo::SetCreateTimetag |
( |
int64_t |
timetag | ) |
|
|
inline |
设置群组创建时间戳(毫秒),通常情况下由SDK维护,开发者作为只读无需设置
◆ SetCustom()
void nim::TeamInfo::SetCustom |
( |
const std::string & |
custom | ) |
|
|
inline |
群属性,开发者无需关注 20161011 by Oleg 获取群属性,开发者无需关注 20161011 by Oleg 设置群组客户端扩展内容
◆ SetIcon()
void nim::TeamInfo::SetIcon |
( |
const std::string & |
icon | ) |
|
|
inline |
◆ SetIntro()
void nim::TeamInfo::SetIntro |
( |
const std::string & |
intro | ) |
|
|
inline |
◆ SetInviteMode()
◆ SetJoinMode()
void nim::TeamInfo::SetJoinMode |
( |
nim::NIMTeamJoinMode |
mode | ) |
|
|
inline |
◆ SetLevel()
void nim::TeamInfo::SetLevel |
( |
int |
level | ) |
|
|
inlineprivate |
设置群组等级,通常情况下由SDK维护,开发者作为只读无需设置
◆ SetMemberCount()
void nim::TeamInfo::SetMemberCount |
( |
int |
count | ) |
|
|
inline |
设置群组成员数量,通常情况下由SDK维护,开发者作为只读无需设置
◆ SetMemberListTimetag()
void nim::TeamInfo::SetMemberListTimetag |
( |
int64_t |
timetag | ) |
|
|
inline |
设置群组成员档案时间戳(毫秒),通常情况下由SDK维护,开发者作为只读无需设置
◆ SetMemberMaxCount()
void nim::TeamInfo::SetMemberMaxCount |
( |
int |
count | ) |
|
|
inline |
在创建群时,设置群的最大成员数,不可超过应用设定的最大成员数,否则返回414
◆ SetMemberValid()
void nim::TeamInfo::SetMemberValid |
( |
bool |
valid | ) |
|
|
inline |
设置群组成员有效性,通常情况下由SDK维护,开发者作为只读无需设置
◆ SetMute()
◆ SetName()
void nim::TeamInfo::SetName |
( |
const std::string & |
name | ) |
|
|
inline |
◆ SetOwnerID()
void nim::TeamInfo::SetOwnerID |
( |
const std::string & |
id | ) |
|
|
inline |
设置群组拥有者ID,通常情况下由SDK维护,开发者作为只读无需设置
◆ SetProperty()
void nim::TeamInfo::SetProperty |
( |
const std::string & |
prop | ) |
|
|
inline |
◆ SetServerCustom()
void nim::TeamInfo::SetServerCustom |
( |
const std::string & |
custom | ) |
|
|
inline |
◆ SetTeamID()
void nim::TeamInfo::SetTeamID |
( |
const std::string & |
id | ) |
|
|
inline |
设置群组ID,通常情况下由SDK维护,开发者作为只读无需设置
◆ SetType()
void nim::TeamInfo::SetType |
( |
nim::NIMTeamType |
type | ) |
|
|
inline |
◆ SetUpdateCustomMode()
◆ SetUpdateInfoMode()
◆ SetUpdateTimetag()
void nim::TeamInfo::SetUpdateTimetag |
( |
int64_t |
timetag | ) |
|
|
inline |
设置群组更新时间戳(毫秒),通常情况下由SDK维护,开发者作为只读无需设置
◆ SetValid()
void nim::TeamInfo::SetValid |
( |
bool |
valid | ) |
|
|
inline |
设置群组有效性,通常情况下由SDK维护,开发者作为只读无需设置
◆ ToJsonString()
std::string nim::TeamInfo::ToJsonString |
( |
| ) |
const |
|
inline |
组装Json Value字符串
- 返回
- string Json Value字符串
◆ ToJsonValue()
◆ TypeIsValid()
bool nim::TeamInfo::TypeIsValid |
( |
| ) |
const |
|
inline |
判断是否设置了群组类型,在创建群组时用以判断上层构造的 TeamInfo 是否设置了群组类型
◆ Update()
void nim::TeamInfo::Update |
( |
const TeamInfo & |
new_info | ) |
|
|
inline |
◆ team_info_json_value_
该结构体的文档由以下文件生成:
- D:/GitLab/builds/5sbaxrcd/0/nim-pc/california/nim-cross-platform-sdk/exports/wrapper/nim_cpp_wrapper/helper/nim_team_helper.h