public class MediaStateChangedEvent extends MediaEvent
Constructor and Description |
---|
MediaStateChangedEvent(MediaObject source,
String timestamp,
String timestampMillis,
List<Tag> tags,
String type,
MediaState oldState,
MediaState newState)
Deprecated.
[DEPRECATED: Use timestampMillis] The timestamp associated with this object: Seconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).
|
Modifier and Type | Method and Description |
---|---|
MediaState |
getNewState()
Getter for the newState property
|
MediaState |
getOldState()
Getter for the oldState property
|
void |
setNewState(MediaState newState)
Setter for the newState property
|
void |
setOldState(MediaState oldState)
Setter for the oldState property
|
getType, setType
getSource, getTags, getTimestamp, getTimestampMillis, setSource, setTags, setTimestamp, setTimestampMillis
public MediaStateChangedEvent(MediaObject source, String timestamp, String timestampMillis, List<Tag> tags, String type, MediaState oldState, MediaState newState)
source
- Object that raised the eventtimestamp
- timestampMillis
- The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).tags
- type
- Type of event that was raisedoldState
- The previous statenewState
- The new statepublic MediaState getOldState()
public void setOldState(MediaState oldState)
oldState
- The previous statepublic MediaState getNewState()
public void setNewState(MediaState newState)
newState
- The new stateCopyright © 2019 Kurento. All rights reserved.