8#ifndef _NIM_SDK_CPP_SIGNALING_HELPER_H_
9#define _NIM_SDK_CPP_SIGNALING_HELPER_H_
37 uint64_t create_timestamp_{0};
39 uint64_t expire_timestamp_{0};
45 uint64_t nertc_token_ttl_{600};
52 create_timestamp_ = 0;
53 expire_timestamp_ = 0;
82 uint64_t create_timestamp_{0};
84 uint64_t expire_timestamp_{0};
110 members_.push_back(member);
132 , need_badge_(
true) {}
135 , need_badge_(
true) {
182 uint64_t timestamp_{0};
259 static std::shared_ptr<SignalingResParam>
GetOptParam(
void* opt_res_param) {
return nullptr; }
293 static std::shared_ptr<SignalingResParam>
GetOptParam(
void* opt_res_param) {
294 if (opt_res_param ==
nullptr) {
344 uint64_t nertc_token_ttl_{600};
371 static std::shared_ptr<SignalingResParam>
GetOptParam(
void* opt_res_param) {
372 if (opt_res_param ==
nullptr) {
432 static std::shared_ptr<SignalingResParam>
GetOptParam(
void* opt_res_param) {
433 if (opt_res_param ==
nullptr) {
467 uint64_t nertc_token_ttl_{600};
499 uint32_t call_status_{0};
503 static std::shared_ptr<SignalingResParam>
GetOptParam(
void* opt_res_param) {
504 if (opt_res_param ==
nullptr) {
530 uint64_t nertc_token_ttl_{600};
551 uint32_t call_status_{0};
555 static std::shared_ptr<SignalingResParam>
GetOptParam(
void* opt_res_param) {
556 if (opt_res_param ==
nullptr) {
#define NIM_SDK_CPPWRAPPER_DLL_API
Definition: nim_sdk_cpp_wrapper.h:38
NIMSignalingEventType
频道事件,包含在线,同步,离线等
Definition: nim_signaling_def.h:102
NIMSignalingType
频道类型
Definition: nim_signaling_def.h:20
@ kNIMSignalingTypeAudio
音频类型
Definition: nim_signaling_def.h:22
#define true
Definition: stdbool.h:30
#define false
Definition: stdbool.h:33
接受邀请接口nim_signaling_accept的传入参数
Definition: nim_signaling_def.h:472
int64_t uid_
自己在频道中对应的uid,大于零有效,无效时服务器会分配随机唯一的uid,可缺省填0
Definition: nim_signaling_def.h:486
uint64_t nertc_token_ttl_
云信G2-RTC的token有效期, 单位秒
Definition: nim_signaling_def.h:492
char * channel_id_
服务器生成的频道ID
Definition: nim_signaling_def.h:474
char * request_id_
邀请者邀请的请求id
Definition: nim_signaling_def.h:478
char * accept_custom_info_
操作的扩展字段
Definition: nim_signaling_def.h:480
bool offline_enabled_
是否存离线
Definition: nim_signaling_def.h:482
char * join_custom_info_
加入频道的自定义扩展信息,将在加入频道通知中带给其他频道成员,可缺省
Definition: nim_signaling_def.h:488
char * account_id_
邀请者的账号
Definition: nim_signaling_def.h:476
bool auto_join_
是否加入,默认不打开,打开后后续参数uid_、join_custom_info_有效
Definition: nim_signaling_def.h:484
char * nertc_channel_name_
云信G2-RTC的房间名,不为空则返回对应token
Definition: nim_signaling_def.h:490
char * nertc_join_room_query_param_
云信G2-RTC加入房间的请求参数
Definition: nim_signaling_def.h:494
呼叫接口nim_signaling_call的传入参数
Definition: nim_signaling_def.h:357
bool offline_enabled_
是否存离线
Definition: nim_signaling_def.h:373
char * nertc_channel_name_
云信G2-RTC的房间名,不为空则返回对应token
Definition: nim_signaling_def.h:377
struct NIMSignalingPushInfo push_info_
推送属性
Definition: nim_signaling_def.h:375
char * request_id_
邀请者邀请的请求id,需要邀请者填写,之后取消邀请、拒绝、接受需要复用该request_id_
Definition: nim_signaling_def.h:369
char * channel_ext_
创建时传入的扩展字段,可缺省
Definition: nim_signaling_def.h:363
char * custom_info_
操作的扩展字段,透传给被邀请者,可缺省
Definition: nim_signaling_def.h:371
enum NIMSignalingType channel_type_
通话类型,1:音频;2:视频;3:其他
Definition: nim_signaling_def.h:359
char * channel_name_
创建时传入的频道名,可缺省
Definition: nim_signaling_def.h:361
int64_t uid_
自己在频道中对应的uid,大于零有效,无效时服务器会分配随机唯一的uid
Definition: nim_signaling_def.h:365
char * account_id_
被邀请者的账号
Definition: nim_signaling_def.h:367
uint64_t nertc_token_ttl_
云信G2-RTC的token有效期, 单位秒
Definition: nim_signaling_def.h:379
char * nertc_join_room_query_param_
云信G2-RTC加入房间的请求参数
Definition: nim_signaling_def.h:381
Definition: nim_signaling_def.h:387
取消邀请接口nim_signaling_cancel_invite的传入参数
Definition: nim_signaling_def.h:441
char * custom_info_
操作的扩展字段,可缺省
Definition: nim_signaling_def.h:449
bool offline_enabled_
是否存离线
Definition: nim_signaling_def.h:451
char * channel_id_
服务器生成的频道ID
Definition: nim_signaling_def.h:443
char * request_id_
邀请者邀请的请求id
Definition: nim_signaling_def.h:447
char * account_id_
被邀请者的账号
Definition: nim_signaling_def.h:445
频道的详细信息,包含频道信息及成员列表
Definition: nim_signaling_def.h:74
struct NIMSignalingChannelInfo channel_info_
频道信息
Definition: nim_signaling_def.h:76
int32_t member_size_
频道内成员个数
Definition: nim_signaling_def.h:80
struct NIMSignalingMemberInfo * members_
频道内成员信息数组
Definition: nim_signaling_def.h:78
频道属性
Definition: nim_signaling_def.h:32
uint64_t nertc_token_ttl_
云信G2-RTC的token的有效期
Definition: nim_signaling_def.h:50
char * channel_name_
创建时传入的频道名
Definition: nim_signaling_def.h:36
char * creator_id_
创建者的accid
Definition: nim_signaling_def.h:46
char * nertc_join_room_resp_
云信G2-RTC加入房间的响应,可以转成json
Definition: nim_signaling_def.h:54
uint64_t expire_timestamp_
失效时间点
Definition: nim_signaling_def.h:44
bool invalid_
频道是否有效
Definition: nim_signaling_def.h:48
char * channel_ext_
创建时传入的扩展字段
Definition: nim_signaling_def.h:40
uint64_t create_timestamp_
创建时间点
Definition: nim_signaling_def.h:42
char * channel_id_
服务器生成的频道ID
Definition: nim_signaling_def.h:38
enum NIMSignalingType channel_type_
通话类型,1:音频;2:视频;3:其他
Definition: nim_signaling_def.h:34
char * nertc_token_
云信G2-RTC的token
Definition: nim_signaling_def.h:52
关闭频道接口nim_signaling_close的传入参数
Definition: nim_signaling_def.h:291
bool offline_enabled_
是否存离线
Definition: nim_signaling_def.h:297
char * custom_info_
操作的扩展字段
Definition: nim_signaling_def.h:295
char * channel_id_
服务器生成的频道ID
Definition: nim_signaling_def.h:293
控制通知接口nim_signaling_control的传入参数
Definition: nim_signaling_def.h:505
char * channel_id_
服务器生成的频道ID
Definition: nim_signaling_def.h:507
char * custom_info_
操作的扩展字段
Definition: nim_signaling_def.h:511
char * account_id_
对方accid,如果为空,则通知所有人
Definition: nim_signaling_def.h:509
创建频道接口nim_signaling_create的传入参数
Definition: nim_signaling_def.h:271
enum NIMSignalingType channel_type_
通话类型,1:音频;2:视频;3:其他
Definition: nim_signaling_def.h:273
char * channel_name_
创建时传入的频道名,可缺省
Definition: nim_signaling_def.h:275
char * channel_ext_
创建时传入的扩展字段,可缺省
Definition: nim_signaling_def.h:277
创建频道结果回调信息
Definition: nim_signaling_def.h:283
邀请接口nim_signaling_invite的传入参数
Definition: nim_signaling_def.h:423
char * custom_info_
操作的扩展字段,透传给被邀请者,可缺省
Definition: nim_signaling_def.h:431
char * account_id_
被邀请者的账号
Definition: nim_signaling_def.h:427
char * request_id_
邀请者邀请的请求id,需要邀请者填写,之后取消邀请、拒绝、接受需要复用该request_id_
Definition: nim_signaling_def.h:429
char * channel_id_
服务器生成的频道ID
Definition: nim_signaling_def.h:425
bool offline_enabled_
是否存离线
Definition: nim_signaling_def.h:433
struct NIMSignalingPushInfo push_info_
推送属性
Definition: nim_signaling_def.h:435
Definition: nim_signaling_def.h:393
char * nertc_channel_name_
云信G2-RTC的房间名,不为空则返回对应token
Definition: nim_signaling_def.h:407
char * custom_info_
操作者附加的自定义信息,透传给其他人,可缺省
Definition: nim_signaling_def.h:397
char * channel_id_
服务器生成的频道ID
Definition: nim_signaling_def.h:395
char * request_id_
邀请者邀请的请求id
Definition: nim_signaling_def.h:403
bool offline_enabled_
是否存离线
Definition: nim_signaling_def.h:405
int64_t uid_
自己在频道中对应的uid,大于零有效,无效时服务器会分配随机唯一的uid
Definition: nim_signaling_def.h:399
char * account_id_
邀请者的账号
Definition: nim_signaling_def.h:401
char * nertc_join_room_query_param_
云信G2-RTC加入房间的请求参数
Definition: nim_signaling_def.h:411
uint64_t nertc_token_ttl_
云信G2-RTC的token有效期, 单位秒
Definition: nim_signaling_def.h:409
Definition: nim_signaling_def.h:414
加入频道接口nim_signaling_join的传入参数
Definition: nim_signaling_def.h:303
char * nertc_join_room_query_param_
云信G2-RTC加入房间的请求参数
Definition: nim_signaling_def.h:317
char * channel_id_
服务器生成的频道ID
Definition: nim_signaling_def.h:305
char * nertc_channel_name_
云信G2-RTC的房间名,不为空则返回对应token
Definition: nim_signaling_def.h:313
char * custom_info_
操作者附加的自定义信息,透传给其他人,可缺省
Definition: nim_signaling_def.h:307
uint64_t nertc_token_ttl_
云信G2-RTC的token有效期, 单位秒
Definition: nim_signaling_def.h:315
int64_t uid_
自己在频道中对应的uid,大于零有效,无效时服务器会分配随机唯一的uid
Definition: nim_signaling_def.h:309
bool offline_enabled_
是否存离线
Definition: nim_signaling_def.h:311
加入频道结果回调信息
Definition: nim_signaling_def.h:322
离开频道接口nim_signaling_leave的传入参数
Definition: nim_signaling_def.h:330
char * custom_info_
操作的扩展字段
Definition: nim_signaling_def.h:334
char * channel_id_
服务器生成的频道ID
Definition: nim_signaling_def.h:332
bool offline_enabled_
是否存离线
Definition: nim_signaling_def.h:336
成员属性
Definition: nim_signaling_def.h:60
uint64_t expire_timestamp_
失效时间点,失效后认为离开频道
Definition: nim_signaling_def.h:68
int64_t uid_
成员的 uid,大于零有效,无效时服务器会分配随机频道内唯一的uid
Definition: nim_signaling_def.h:64
char * account_id_
成员的 accid
Definition: nim_signaling_def.h:62
uint64_t create_timestamp_
加入时间点
Definition: nim_signaling_def.h:66
事件通知信息基类
Definition: nim_signaling_def.h:124
推送属性
Definition: nim_signaling_def.h:86
bool need_push_
是否需要推送,默认false,
Definition: nim_signaling_def.h:88
char * push_title_
推送标题
Definition: nim_signaling_def.h:90
char * push_content_
推送内容
Definition: nim_signaling_def.h:92
bool need_badge_
是否计入未读计数,默认true
Definition: nim_signaling_def.h:96
char * push_payload_
推送自定义字段
Definition: nim_signaling_def.h:94
查询频道接口nim_signaling_query_channel_info的传入参数
Definition: nim_signaling_def.h:342
char * channel_name_
创建时传入的频道名
Definition: nim_signaling_def.h:344
查询频道结果回调信息
Definition: nim_signaling_def.h:349
拒绝接口nim_signaling_reject的传入参数
Definition: nim_signaling_def.h:457
char * custom_info_
操作的扩展字段
Definition: nim_signaling_def.h:465
char * account_id_
邀请者的账号
Definition: nim_signaling_def.h:461
char * channel_id_
服务器生成的频道ID
Definition: nim_signaling_def.h:459
char * request_id_
邀请者邀请的请求id
Definition: nim_signaling_def.h:463
bool offline_enabled_
是否存离线
Definition: nim_signaling_def.h:467
接受邀请接口nim_signaling_accept的传入参数
Definition: nim_signaling_helper.h:668
std::string accept_custom_info_
操作的扩展字段
Definition: nim_signaling_helper.h:676
int64_t uid_
自己在频道中对应的uid,大于零有效,无效时服务器会分配随机唯一的uid,可缺省填0
Definition: nim_signaling_helper.h:682
std::string join_custom_info_
加入频道的自定义扩展信息,将在加入频道通知中带给其他频道成员,可缺省
Definition: nim_signaling_helper.h:684
std::string nertc_join_room_query_param_
云信G2-RTC加入房间的请求参数
Definition: nim_signaling_helper.h:690
std::string nertc_channel_name_
云信G2-RTC的房间名,不为空则返回对应token
Definition: nim_signaling_helper.h:686
std::string account_id_
邀请者的账号
Definition: nim_signaling_helper.h:672
std::string request_id_
邀请者邀请的请求id
Definition: nim_signaling_helper.h:674
bool offline_enabled_
是否存离线
Definition: nim_signaling_helper.h:678
NIMSignalingAcceptParam GetCParam()
将C++的传入参数转成C的结构体
Definition: nim_signaling_helper.h:694
std::string channel_id_
服务器生成的频道ID
Definition: nim_signaling_helper.h:670
bool auto_join_
是否加入,打开后后续参数uid_、join_custom_info_有效
Definition: nim_signaling_helper.h:680
uint64_t nertc_token_ttl_
云信G2-RTC的token有效期, 单位秒
Definition: nim_signaling_helper.h:688
接受邀请结果回调信息,在自动加入成功后返回有效
Definition: nim_signaling_helper.h:714
Definition: nim_signaling_helper.h:496
SignalingChannelDetailedinfo info_
频道详细信息
Definition: nim_signaling_helper.h:498
static std::shared_ptr< SignalingResParam > GetOptParam(void *opt_res_param)
将C的返回结构体转换成C++
Definition: nim_signaling_helper.h:503
呼叫接口nim_signaling_call的传入参数
Definition: nim_signaling_helper.h:445
std::string account_id_
被邀请者的账号
Definition: nim_signaling_helper.h:455
std::string nertc_join_room_query_param_
云信G2-RTC加入房间的请求参数
Definition: nim_signaling_helper.h:469
SignalingPushInfo push_info_
推送属性
Definition: nim_signaling_helper.h:463
std::string custom_info_
操作的扩展字段,透传给被邀请者,可缺省
Definition: nim_signaling_helper.h:459
std::string channel_name_
创建时传入的频道名,可缺省
Definition: nim_signaling_helper.h:449
std::string channel_ext_
创建时传入的扩展字段,可缺省
Definition: nim_signaling_helper.h:451
NIMSignalingType channel_type_
通话类型,1:音频;2:视频;3:其他
Definition: nim_signaling_helper.h:447
std::string nertc_channel_name_
云信G2-RTC的房间名,不为空则返回对应token
Definition: nim_signaling_helper.h:465
NIMSignalingCallParam GetCParam()
将C++的传入参数转成C的结构体
Definition: nim_signaling_helper.h:473
int64_t uid_
自己在频道中对应的uid,大于零有效,无效时服务器会分配随机唯一的uid
Definition: nim_signaling_helper.h:453
std::string request_id_
邀请者邀请的请求id,需要邀请者填写,之后取消邀请、拒绝、接受需要复用该request_id_
Definition: nim_signaling_helper.h:457
bool offline_enabled_
是否存离线
Definition: nim_signaling_helper.h:461
呼叫结果回调信息
Definition: nim_signaling_helper.h:494
取消邀请接口nim_signaling_cancel_invite的传入参数
Definition: nim_signaling_helper.h:604
std::string channel_id_
服务器生成的频道ID
Definition: nim_signaling_helper.h:606
std::string request_id_
邀请者邀请的请求id
Definition: nim_signaling_helper.h:610
NIMSignalingCancelInviteParam GetCParam()
将C++的传入参数转成C的结构体
Definition: nim_signaling_helper.h:618
bool offline_enabled_
是否存离线
Definition: nim_signaling_helper.h:614
std::string account_id_
被邀请者的账号
Definition: nim_signaling_helper.h:608
std::string custom_info_
操作的扩展字段,可缺省
Definition: nim_signaling_helper.h:612
取消邀请结果回调信息,暂时为空
Definition: nim_signaling_helper.h:632
频道的详细信息,包含频道信息及成员列表
Definition: nim_signaling_helper.h:99
SignalingChannelDetailedinfo(const NIMSignalingChannelDetailedinfo *info)
Definition: nim_signaling_helper.h:105
SignalingChannelDetailedinfo()
Definition: nim_signaling_helper.h:104
std::list< SignalingMemberInfo > members_
频道内成员信息数组
Definition: nim_signaling_helper.h:103
SignalingChannelInfo channel_info_
频道信息
Definition: nim_signaling_helper.h:101
频道属性
Definition: nim_signaling_helper.h:27
std::string nertc_token_
云信G2-RTC的token
Definition: nim_signaling_helper.h:47
NIMSignalingType channel_type_
通话类型,1:音频;2:视频;3:其他
Definition: nim_signaling_helper.h:29
std::string channel_name_
创建时传入的频道名
Definition: nim_signaling_helper.h:31
std::string creator_id_
创建者的accid
Definition: nim_signaling_helper.h:41
std::string channel_ext_
创建时传入的扩展字段
Definition: nim_signaling_helper.h:35
bool invalid_
频道是否有效
Definition: nim_signaling_helper.h:43
SignalingChannelInfo(const NIMSignalingChannelInfo *info)
Definition: nim_signaling_helper.h:56
SignalingChannelInfo()
Definition: nim_signaling_helper.h:50
std::string channel_id_
服务器生成的频道ID
Definition: nim_signaling_helper.h:33
std::string nertc_join_room_resp_
云信G2-RTC加入房间的响应,可以转成json
Definition: nim_signaling_helper.h:49
关闭频道接口nim_signaling_close的传入参数
Definition: nim_signaling_helper.h:306
std::string channel_id_
服务器生成的频道ID
Definition: nim_signaling_helper.h:308
NIMSignalingCloseParam GetCParam()
将C++的传入参数转成C的结构体
Definition: nim_signaling_helper.h:316
std::string custom_info_
操作的扩展字段
Definition: nim_signaling_helper.h:310
bool offline_enabled_
是否存离线
Definition: nim_signaling_helper.h:312
关闭频道结果回调信息
Definition: nim_signaling_helper.h:327
控制通知接口nim_signaling_control的传入参数
Definition: nim_signaling_helper.h:719
NIMSignalingControlParam GetCParam()
将C++的传入参数转成C的结构体
Definition: nim_signaling_helper.h:729
std::string channel_id_
服务器生成的频道ID
Definition: nim_signaling_helper.h:721
std::string account_id_
对方accid,如果为空,则通知所有人
Definition: nim_signaling_helper.h:723
std::string custom_info_
操作的扩展字段
Definition: nim_signaling_helper.h:725
控制通知结果回调信息,暂时为空
Definition: nim_signaling_helper.h:740
创建频道接口nim_signaling_create的传入参数
Definition: nim_signaling_helper.h:265
NIMSignalingType channel_type_
通话类型,1:音频;2:视频;3:其他
Definition: nim_signaling_helper.h:267
std::string channel_name_
创建时传入的频道名,可缺省
Definition: nim_signaling_helper.h:269
NIMSignalingCreateParam GetCParam()
将C++的传入参数转成C的结构体
Definition: nim_signaling_helper.h:275
std::string channel_ext_
创建时传入的扩展字段,可缺省
Definition: nim_signaling_helper.h:271
创建频道结果回调信息
Definition: nim_signaling_helper.h:287
static std::shared_ptr< SignalingResParam > GetOptParam(void *opt_res_param)
将C的返回结构体转换成C++
Definition: nim_signaling_helper.h:293
SignalingChannelInfo channel_info_
频道信息
Definition: nim_signaling_helper.h:289
邀请接口nim_signaling_invite的传入参数
Definition: nim_signaling_helper.h:569
bool offline_enabled_
是否存离线
Definition: nim_signaling_helper.h:579
std::string custom_info_
操作的扩展字段,透传给被邀请者,可缺省
Definition: nim_signaling_helper.h:577
std::string channel_id_
服务器生成的频道ID
Definition: nim_signaling_helper.h:571
NIMSignalingInviteParam GetCParam()
将C++的传入参数转成C的结构体
Definition: nim_signaling_helper.h:585
std::string account_id_
被邀请者的账号
Definition: nim_signaling_helper.h:573
std::string request_id_
邀请者邀请的请求id,需要邀请者填写,之后取消邀请、拒绝、接受需要复用该request_id_
Definition: nim_signaling_helper.h:575
邀请结果回调信息,暂时为空
Definition: nim_signaling_helper.h:599
Definition: nim_signaling_helper.h:514
int64_t uid_
自己在频道中对应的uid,大于零有效,无效时服务器会分配随机唯一的uid
Definition: nim_signaling_helper.h:520
NIMSignalingJoinAndAcceptParam GetCParam()
Definition: nim_signaling_helper.h:533
bool offline_enabled_
是否存离线
Definition: nim_signaling_helper.h:522
std::string custom_info_
操作者附加的自定义信息,透传给其他人,可缺省
Definition: nim_signaling_helper.h:518
std::string account_id_
邀请者的账号
Definition: nim_signaling_helper.h:524
std::string nertc_channel_name_
云信G2-RTC的房间名,不为空则返回对应token
Definition: nim_signaling_helper.h:528
std::string nertc_join_room_query_param_
云信G2-RTC的query请求
Definition: nim_signaling_helper.h:532
std::string request_id_
邀请者邀请的请求id
Definition: nim_signaling_helper.h:526
std::string channel_id_
服务器生成的频道ID
Definition: nim_signaling_helper.h:516
Definition: nim_signaling_helper.h:548
SignalingChannelDetailedinfo info_
频道详细信息
Definition: nim_signaling_helper.h:550
static std::shared_ptr< SignalingResParam > GetOptParam(void *opt_res_param)
将C的返回结构体转换成C++
Definition: nim_signaling_helper.h:555
加入频道接口nim_signaling_query_channel_info的传入参数
Definition: nim_signaling_helper.h:332
std::string nertc_channel_name_
云信G2-RTC的房间名,不为空则返回对应token
Definition: nim_signaling_helper.h:342
NIMSignalingJoinParam GetCParam()
将C++的传入参数转成C的结构体
Definition: nim_signaling_helper.h:350
std::string custom_info_
操作者附加的自定义信息,透传给其他人,可缺省
Definition: nim_signaling_helper.h:336
int64_t uid_
自己在频道中对应的uid,大于零有效,无效时服务器会分配随机唯一的uid
Definition: nim_signaling_helper.h:338
bool offline_enabled_
是否存离线
Definition: nim_signaling_helper.h:340
std::string nertc_join_room_query_param_
云信G2-RTC的query请求
Definition: nim_signaling_helper.h:346
std::string channel_id_
服务器生成的频道ID
Definition: nim_signaling_helper.h:334
加入频道结果回调信息
Definition: nim_signaling_helper.h:365
SignalingChannelDetailedinfo info_
频道详细信息
Definition: nim_signaling_helper.h:367
static std::shared_ptr< SignalingResParam > GetOptParam(void *opt_res_param)
将C的返回结构体转换成C++
Definition: nim_signaling_helper.h:371
离开频道接口nim_signaling_leave的传入参数
Definition: nim_signaling_helper.h:384
bool offline_enabled_
是否存离线
Definition: nim_signaling_helper.h:390
std::string custom_info_
操作的扩展字段
Definition: nim_signaling_helper.h:388
NIMSignalingLeaveParam GetCParam()
将C++的传入参数转成C的结构体
Definition: nim_signaling_helper.h:394
std::string channel_id_
服务器生成的频道ID
Definition: nim_signaling_helper.h:386
离开频道结果回调信息,暂时为空
Definition: nim_signaling_helper.h:406
成员属性
Definition: nim_signaling_helper.h:76
SignalingMemberInfo(NIMSignalingMemberInfo *info)
Definition: nim_signaling_helper.h:86
std::string account_id_
成员的 accid
Definition: nim_signaling_helper.h:78
SignalingMemberInfo()
Definition: nim_signaling_helper.h:85
接收邀请事件通知信息,event_type_=kNIMSignalingEventTypeAccept
Definition: nim_signaling_helper.h:235
std::string to_account_id_
邀请者的账号
Definition: nim_signaling_helper.h:237
std::string request_id_
邀请者邀请的请求id
Definition: nim_signaling_helper.h:239
取消邀请事件通知信息,event_type_=kNIMSignalingEventTypeCancelInvite
Definition: nim_signaling_helper.h:217
std::string request_id_
邀请者邀请的请求id
Definition: nim_signaling_helper.h:221
std::string to_account_id_
被邀请者的账号
Definition: nim_signaling_helper.h:219
频道关闭事件通知信息,event_type_=kNIMSignalingEventTypeClose
Definition: nim_signaling_helper.h:192
控制事件通知信息,event_type_=kNIMSignalingEventTypeCtrl
Definition: nim_signaling_helper.h:250
事件通知信息基类
Definition: nim_signaling_helper.h:172
std::string from_account_id_
操作者
Definition: nim_signaling_helper.h:178
std::string custom_info_
操作的扩展字段
Definition: nim_signaling_helper.h:180
enum NIMSignalingEventType event_type_
通知类型
Definition: nim_signaling_helper.h:174
邀请事件通知信息,event_type_=kNIMSignalingEventTypeInvite
Definition: nim_signaling_helper.h:205
SignalingPushInfo push_info_
推送信息
Definition: nim_signaling_helper.h:211
std::string request_id_
邀请者邀请的请求id,用于被邀请者回传request_id_作对应的回应操作
Definition: nim_signaling_helper.h:209
std::string to_account_id_
被邀请者的账号
Definition: nim_signaling_helper.h:207
加入频道事件通知信息,event_type_=kNIMSignalingEventTypeJoin
Definition: nim_signaling_helper.h:197
SignalingMemberInfo member_
加入成员的信息,用于获得uid
Definition: nim_signaling_helper.h:199
退出频道事件通知信息,event_type_=kNIMSignalingEventTypeLeave
Definition: nim_signaling_helper.h:245
拒绝邀请事件通知信息,event_type_=kNIMSignalingEventTypeReject
Definition: nim_signaling_helper.h:226
std::string to_account_id_
邀请者的账号
Definition: nim_signaling_helper.h:228
std::string request_id_
邀请者邀请的请求id
Definition: nim_signaling_helper.h:230
推送属性
Definition: nim_signaling_helper.h:119
std::string push_content_
推送内容
Definition: nim_signaling_helper.h:125
NIMSignalingPushInfo GetCParam()
将C++的结构体转成C的结构体
Definition: nim_signaling_helper.h:149
bool need_push_
是否需要推送,默认false,
Definition: nim_signaling_helper.h:121
std::string push_title_
推送标题
Definition: nim_signaling_helper.h:123
std::string push_payload_
推送自定义字段
Definition: nim_signaling_helper.h:127
SignalingPushInfo()
Definition: nim_signaling_helper.h:130
SignalingPushInfo(NIMSignalingPushInfo *info)
Definition: nim_signaling_helper.h:133
bool need_badge_
是否计入未读计数,默认true
Definition: nim_signaling_helper.h:129
查询频道接口nim_signaling_join的传入参数
Definition: nim_signaling_helper.h:411
NIMSignalingQueryChannelInfoParam GetCParam()
将C++的传入参数转成C的结构体
Definition: nim_signaling_helper.h:417
std::string channel_name_
创建时传入的频道名
Definition: nim_signaling_helper.h:413
查询频道结果回调信息
Definition: nim_signaling_helper.h:426
SignalingChannelDetailedinfo info_
频道详细信息
Definition: nim_signaling_helper.h:428
static std::shared_ptr< SignalingResParam > GetOptParam(void *opt_res_param)
将C的返回结构体转换成C++
Definition: nim_signaling_helper.h:432
拒绝接口nim_signaling_reject的传入参数
Definition: nim_signaling_helper.h:637
NIMSignalingRejectParam GetCParam()
将C++的传入参数转成C的结构体
Definition: nim_signaling_helper.h:651
std::string account_id_
邀请者的账号
Definition: nim_signaling_helper.h:641
std::string request_id_
邀请者邀请的请求id
Definition: nim_signaling_helper.h:643
bool offline_enabled_
是否存离线
Definition: nim_signaling_helper.h:647
std::string custom_info_
操作的扩展字段
Definition: nim_signaling_helper.h:645
std::string channel_id_
服务器生成的频道ID
Definition: nim_signaling_helper.h:639
拒绝邀请结果回调信息,暂时为空
Definition: nim_signaling_helper.h:664
独立信令操作回调参数基类
Definition: nim_signaling_helper.h:255
static std::shared_ptr< SignalingResParam > GetOptParam(void *opt_res_param)
将C的返回结构体转换成C++
Definition: nim_signaling_helper.h:259