public class MediaEvent extends RaiseBaseEvent
Constructor and Description |
---|
MediaEvent(MediaObject source,
String timestamp,
String timestampMillis,
List<Tag> tags,
String type)
Base for all events raised by elements in the Kurento media server.
|
Modifier and Type | Method and Description |
---|---|
String |
getType()
Getter for the type property
|
void |
setType(String type)
Setter for the type property
|
getSource, getTags, getTimestamp, getTimestampMillis, setSource, setTags, setTimestamp, setTimestampMillis
public MediaEvent(MediaObject source, String timestamp, String timestampMillis, List<Tag> tags, String type)
source
- Object that raised the eventtimestamp
- [DEPRECATED: Use timestampMillis] The timestamp associated with this object: Seconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).timestampMillis
- The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).tags
- type
- Type of event that was raisedCopyright © 2022 Kurento. All rights reserved.