public class EventMessage extends AbstractModel
header, skipSign| 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 The event ID. 
 | 
Long | 
getParamOne()
Get The first event parameter, such as the video width. 
 | 
Long | 
getParamTwo()
Get The second event parameter, such as the video height. 
 | 
Long | 
getTime()
Get The event reporting time in the format of UNIX timestamp (milliseconds), such as `1589891188801`. 
 | 
Long | 
getType()
Get The video stream type. 
 | 
void | 
setEventId(Long EventId)
Set The event ID. 
 | 
void | 
setParamOne(Long ParamOne)
Set The first event parameter, such as the video width. 
 | 
void | 
setParamTwo(Long ParamTwo)
Set The second event parameter, such as the video height. 
 | 
void | 
setTime(Long Time)
Set The event reporting time in the format of UNIX timestamp (milliseconds), such as `1589891188801`. 
 | 
void | 
setType(Long Type)
Set The video stream type. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic EventMessage()
public EventMessage(EventMessage source)
public Long getType()
public void setType(Long Type)
Type - The video stream type. Valid values:
`0`: A non-video event
`2`: The big video
`3`: The small video
`7`: A relayed videopublic Long getTime()
public void setTime(Long Time)
Time - The event reporting time in the format of UNIX timestamp (milliseconds), such as `1589891188801`.public Long getEventId()
public void setEventId(Long EventId)
EventId - The event ID. Events are classified into SDK events and WebRTC events. For more information, see https://www.tencentcloud.com/document/product/647/37906?has_map=1public Long getParamOne()
public void setParamOne(Long ParamOne)
ParamOne - The first event parameter, such as the video width.public Long getParamTwo()
public void setParamTwo(Long ParamTwo)
ParamTwo - The second event parameter, such as the video height.Copyright © 2025. All rights reserved.