public class EventInfo extends AbstractModel
Constructor and Description |
---|
EventInfo() |
EventInfo(EventInfo 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 |
---|---|
EventDataInfo |
getEventData()
Get The details of the event, including the room ID and the user to whom the event occurred.
|
String |
getEventType()
Get The event type.
|
Long |
getTimestamp()
Get The Unix timestamp (seconds) when the event occurred.
|
void |
setEventData(EventDataInfo EventData)
Set The details of the event, including the room ID and the user to whom the event occurred.
|
void |
setEventType(String EventType)
Set The event type.
|
void |
setTimestamp(Long Timestamp)
Set The Unix timestamp (seconds) when the event occurred.
|
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 EventInfo()
public EventInfo(EventInfo source)
public Long getTimestamp()
public void setTimestamp(Long Timestamp)
Timestamp
- The Unix timestamp (seconds) when the event occurred.public String getEventType()
public void setEventType(String EventType)
EventType
- The event type. Valid values:
`RoomStart`: The class started. `RoomEnd`: The class ended. `MemberJoin`: A user joined. `MemberQuit`: A user left. `RecordFinish`: Recording is finished.public EventDataInfo getEventData()
public void setEventData(EventDataInfo EventData)
EventData
- The details of the event, including the room ID and the user to whom the event occurred.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.