Class EventMessage
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.trtc.v20190722.models.EventMessage
-
public class EventMessage extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description EventMessage()EventMessage(EventMessage source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetEventId()Get 事件Id:分为sdk的事件和webrtc的事件,详情见:附录/事件 ID 映射表:https://cloud.tencent.com/document/product/647/44916LonggetParamOne()Get 事件的第一个参数,如视频分辨率宽LonggetParamTwo()Get 事件的第二个参数,如视频分辨率高LonggetTime()Get 事件上报的时间戳,unix时间(1589891188801ms)LonggetType()Get 视频流类型: 0:与视频无关的事件; 2:视频为大画面; 3:视频为小画面; 7:视频为旁路画面;voidsetEventId(Long EventId)Set 事件Id:分为sdk的事件和webrtc的事件,详情见:附录/事件 ID 映射表:https://cloud.tencent.com/document/product/647/44916voidsetParamOne(Long ParamOne)Set 事件的第一个参数,如视频分辨率宽voidsetParamTwo(Long ParamTwo)Set 事件的第二个参数,如视频分辨率高voidsetTime(Long Time)Set 事件上报的时间戳,unix时间(1589891188801ms)voidsetType(Long Type)Set 视频流类型: 0:与视频无关的事件; 2:视频为大画面; 3:视频为小画面; 7:视频为旁路画面;voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
EventMessage
public EventMessage()
-
EventMessage
public EventMessage(EventMessage source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getType
public Long getType()
Get 视频流类型: 0:与视频无关的事件; 2:视频为大画面; 3:视频为小画面; 7:视频为旁路画面;- Returns:
- Type 视频流类型: 0:与视频无关的事件; 2:视频为大画面; 3:视频为小画面; 7:视频为旁路画面;
-
setType
public void setType(Long Type)
Set 视频流类型: 0:与视频无关的事件; 2:视频为大画面; 3:视频为小画面; 7:视频为旁路画面;- Parameters:
Type- 视频流类型: 0:与视频无关的事件; 2:视频为大画面; 3:视频为小画面; 7:视频为旁路画面;
-
getTime
public Long getTime()
Get 事件上报的时间戳,unix时间(1589891188801ms)- Returns:
- Time 事件上报的时间戳,unix时间(1589891188801ms)
-
setTime
public void setTime(Long Time)
Set 事件上报的时间戳,unix时间(1589891188801ms)- Parameters:
Time- 事件上报的时间戳,unix时间(1589891188801ms)
-
getEventId
public Long getEventId()
Get 事件Id:分为sdk的事件和webrtc的事件,详情见:附录/事件 ID 映射表:https://cloud.tencent.com/document/product/647/44916- Returns:
- EventId 事件Id:分为sdk的事件和webrtc的事件,详情见:附录/事件 ID 映射表:https://cloud.tencent.com/document/product/647/44916
-
setEventId
public void setEventId(Long EventId)
Set 事件Id:分为sdk的事件和webrtc的事件,详情见:附录/事件 ID 映射表:https://cloud.tencent.com/document/product/647/44916- Parameters:
EventId- 事件Id:分为sdk的事件和webrtc的事件,详情见:附录/事件 ID 映射表:https://cloud.tencent.com/document/product/647/44916
-
getParamOne
public Long getParamOne()
Get 事件的第一个参数,如视频分辨率宽- Returns:
- ParamOne 事件的第一个参数,如视频分辨率宽
-
setParamOne
public void setParamOne(Long ParamOne)
Set 事件的第一个参数,如视频分辨率宽- Parameters:
ParamOne- 事件的第一个参数,如视频分辨率宽
-
getParamTwo
public Long getParamTwo()
Get 事件的第二个参数,如视频分辨率高- Returns:
- ParamTwo 事件的第二个参数,如视频分辨率高
-
setParamTwo
public void setParamTwo(Long ParamTwo)
Set 事件的第二个参数,如视频分辨率高- Parameters:
ParamTwo- 事件的第二个参数,如视频分辨率高
-
-