NIM Unity SDK V2.6.0
载入中...
搜索中...
未找到
属性 | 所有成员列表
NIM.NIMEventInfo类 参考

事件信息 更多...

类 NIM.NIMEventInfo 继承关系图:
NimUtility.NimJsonObject< NIMEventInfo >

属性

int Type [get, set]
 事件类型
 
int Value [get, set]
 事件值
 
string ClientMsgID [get, set]
 客户端生成的消息id
 
string Config [get, set]
 用户自定义事件扩展属性,最长4K
 
long ValidityPeriod [get, set]
 事件有效期,单位:秒,时间范围:60s到7天
 
int BroadcastType [get, set]
 事件广播类型:1:仅在线 2:在线和离线
 
int Sync [get, set]
 0:不同步给自己的其他端,1:同步给自己的其他端
 
string NimConfig [get, set]
 预定义事件的扩展字段(在线状态事件:在线的客户端类型Json)
 
int TTLType [get, set]
 客户端不填写
 
int Durable [get, set]
 是否需要持久化(可选字段),默认为需要持久化,0:不需要持久化,1:需要持久化(客户端不填写)
 
long EventTime [get, set]
 事件发布的时间戳,服务器补充(客户端不填写)
 
string ServerMsgID [get, set]
 服务端生成的消息id(客户端不填写)
 
int ClientType [get, set]
 发送客户端类型(客户端不填写)
 
string MultiPortConfig [get, set]
 多端配置信息字段,JSON格式{"clent_type":"clent_config","1":"xxx","2":"xxx"}
 
string PublisherID [get, set]
 事件发布者的accid(客户端不填写)
 
string DeviceID [get, set]
 发送设备id(客户端不填写)
 
override bool IgnoreDefauleValue [get, set]
 
- 属性 继承自 NimUtility.NimJsonObject< NIMEventInfo >
virtual bool IgnoreDefauleValue [get, set]
 
string JSON [get, set]
 

额外继承的成员函数

- Public 成员函数 继承自 NimUtility.NimJsonObject< NIMEventInfo >
virtual string Serialize ()
 
virtual string SerializeWithIndented ()
 
- 静态 Public 成员函数 继承自 NimUtility.NimJsonObject< NIMEventInfo >
static T Deserialize (string json)
 

详细描述

事件信息


该类的文档由以下文件生成: