NIM PC Cross Platform SDK
nim::SignalingNotifyInfo Struct Reference

事件通知信息基类 More...

#include <nim_signaling_helper.h>

Inheritance diagram for nim::SignalingNotifyInfo:
nim::SignalingNotifyInfoAccept nim::SignalingNotifyInfoCancelInvite nim::SignalingNotifyInfoClose nim::SignalingNotifyInfoControl nim::SignalingNotifyInfoInvite nim::SignalingNotifyInfoJoin nim::SignalingNotifyInfoLeave nim::SignalingNotifyInfoReject

Static Public Member Functions

static std::shared_ptr< SignalingNotifyInfoGetSharedPtr (const NIMSignalingNotifyInfo *c_info)
 将C的结构体转成C++的结构体智能指针
 

Public Attributes

enum NIMSignalingEventType event_type_
 通知类型
 
struct SignalingChannelInfo channel_info_
 频道信息
 
std::string from_account_id_
 操作者
 
std::string custom_info_
 操作的扩展字段
 
uint64_t timestamp_
 操作的时间戳
 

Detailed Description

事件通知信息基类

Note
事件对应的通知说明
kNIMSignalingEventTypeClose 返回SignalingNotifyInfoClose,支持在线、离线通知
kNIMSignalingEventTypeJoin 返回SignalingNotifyInfoJoin,支持在线、离线通知
kNIMSignalingEventTypeInvite 返回SignalingNotifyInfoInvite,支持在线、离线通知
kNIMSignalingEventTypeCancelInvite 返回SignalingNotifyInfoCancelInvite,支持在线、离线通知
kNIMSignalingEventTypeReject 返回SignalingNotifyInfoReject,支持在线、多端同步、离线通知
kNIMSignalingEventTypeAccept 返回SignalingNotifyInfoAccept,支持在线、多端同步、离线通知
kNIMSignalingEventTypeLeave 返回SignalingNotifyInfoLeave,支持在线、离线通知
kNIMSignalingEventTypeCtrl 返回SignalingNotifyInfoControl,支持在线通知

The documentation for this struct was generated from the following files: