public class EventMessage extends AbstractModel
Constructor and Description |
---|
EventMessage() |
Modifier and Type | Method and Description |
---|---|
Long |
getEventId()
Get Event ID.
|
Long |
getParamOne()
Get First event parameter, such as video resolution width
|
Long |
getParamTwo()
Get Second event parameter, such as video resolution height
|
Long |
getTime()
Get Event reporting time in the format of UNIX timestamp, such as 1589891188801ms
|
Long |
getType()
Get Video stream type:
0: non-video event;
2: big image;
3: small image;
7: relayed stream image.
|
void |
setEventId(Long EventId)
Set Event ID.
|
void |
setParamOne(Long ParamOne)
Set First event parameter, such as video resolution width
|
void |
setParamTwo(Long ParamTwo)
Set Second event parameter, such as video resolution height
|
void |
setTime(Long Time)
Set Event reporting time in the format of UNIX timestamp, such as 1589891188801ms
|
void |
setType(Long Type)
Set Video stream type:
0: non-video event;
2: big image;
3: small image;
7: relayed stream image.
|
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 Long getType()
public void setType(Long Type)
Type
- Video stream type:
0: non-video event;
2: big image;
3: small image;
7: relayed stream image.public Long getTime()
public void setTime(Long Time)
Time
- Event reporting time in the format of UNIX timestamp, such as 1589891188801mspublic Long getEventId()
public void setEventId(Long EventId)
EventId
- Event ID. Events divide into SDK events and WebRTC events. For more information, please see Appendix - Event ID Mapping Table at https://intl.cloud.tencent.com/document/product/647/44916?from_cn_redirect=1public Long getParamOne()
public void setParamOne(Long ParamOne)
ParamOne
- First event parameter, such as video resolution widthpublic Long getParamTwo()
public void setParamTwo(Long ParamTwo)
ParamTwo
- Second event parameter, such as video resolution heightCopyright © 2020. All rights reserved.