public class ElementConnectedEvent extends MediaEvent
Constructor and Description |
---|
ElementConnectedEvent(MediaObject source,
java.lang.String timestamp,
java.util.List<Tag> tags,
java.lang.String type,
MediaElement sink,
MediaType mediaType,
java.lang.String sourceMediaDescription,
java.lang.String sinkMediaDescription)
Indicates that an element has been connected to another
|
Modifier and Type | Method and Description |
---|---|
MediaType |
getMediaType()
Getter for the mediaType property
|
MediaElement |
getSink()
Getter for the sink property
|
java.lang.String |
getSinkMediaDescription()
Getter for the sinkMediaDescription property
|
java.lang.String |
getSourceMediaDescription()
Getter for the sourceMediaDescription property
|
void |
setMediaType(MediaType mediaType)
Setter for the mediaType property
|
void |
setSink(MediaElement sink)
Setter for the sink property
|
void |
setSinkMediaDescription(java.lang.String sinkMediaDescription)
Setter for the sinkMediaDescription property
|
void |
setSourceMediaDescription(java.lang.String sourceMediaDescription)
Setter for the sourceMediaDescription property
|
getType, setType
getSource, getTags, getTimestamp, setSource, setTags, setTimestamp
public ElementConnectedEvent(MediaObject source, java.lang.String timestamp, java.util.List<Tag> tags, java.lang.String type, MediaElement sink, MediaType mediaType, java.lang.String sourceMediaDescription, java.lang.String sinkMediaDescription)
source
- Object that raised the eventtimestamp
- tags
- type
- Type of event that was raisedsink
- sink element in new connectionmediaType
- Media type of the connectionsourceMediaDescription
- Description of the source mediasinkMediaDescription
- Description of the sink mediapublic MediaElement getSink()
public void setSink(MediaElement sink)
sink
- sink element in new connectionpublic MediaType getMediaType()
public void setMediaType(MediaType mediaType)
mediaType
- Media type of the connectionpublic java.lang.String getSourceMediaDescription()
public void setSourceMediaDescription(java.lang.String sourceMediaDescription)
sourceMediaDescription
- Description of the source mediapublic java.lang.String getSinkMediaDescription()
public void setSinkMediaDescription(java.lang.String sinkMediaDescription)
sinkMediaDescription
- Description of the sink media