public class EventMessage extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Long |
getEventId()
Get 事件Id:分为sdk的事件和webrtc的事件,详情见:附录/事件 ID 映射表:https://cloud.tencent.com/document/product/647/44916
|
Long |
getParamOne()
Get 事件的第一个参数,如视频分辨率宽
|
Long |
getParamTwo()
Get 事件的第二个参数,如视频分辨率高
|
Long |
getTime()
Get 事件上报的时间戳,unix时间(1589891188801ms)
|
Long |
getType()
Get 视频流类型:
0:与视频无关的事件;
2:视频为大画面;
3:视频为小画面;
7:视频为旁路画面;
|
void |
setEventId(Long EventId)
Set 事件Id:分为sdk的事件和webrtc的事件,详情见:附录/事件 ID 映射表:https://cloud.tencent.com/document/product/647/44916
|
void |
setParamOne(Long ParamOne)
Set 事件的第一个参数,如视频分辨率宽
|
void |
setParamTwo(Long ParamTwo)
Set 事件的第二个参数,如视频分辨率高
|
void |
setTime(Long Time)
Set 事件上报的时间戳,unix时间(1589891188801ms)
|
void |
setType(Long Type)
Set 视频流类型:
0:与视频无关的事件;
2:视频为大画面;
3:视频为小画面;
7:视频为旁路画面;
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public EventMessage()
public EventMessage(EventMessage source)
public Long getType()
public void setType(Long Type)
Type
- 视频流类型:
0:与视频无关的事件;
2:视频为大画面;
3:视频为小画面;
7:视频为旁路画面;public Long getTime()
public void setTime(Long Time)
Time
- 事件上报的时间戳,unix时间(1589891188801ms)public Long getEventId()
public void setEventId(Long EventId)
EventId
- 事件Id:分为sdk的事件和webrtc的事件,详情见:附录/事件 ID 映射表:https://cloud.tencent.com/document/product/647/44916public Long getParamOne()
public void setParamOne(Long ParamOne)
ParamOne
- 事件的第一个参数,如视频分辨率宽public Long getParamTwo()
public void setParamTwo(Long ParamTwo)
ParamTwo
- 事件的第二个参数,如视频分辨率高Copyright © 2022. All rights reserved.