public class Audio extends ActivityObject
The "audio" Object type represents audio content.
The "audio" Object type is identified by the URI http://activitystrea.ms/schema/1.0/audio.
An audio has the following additional components:
- Audio Stream Link
- A Media Link Construct linking to the audio content itself. Represented in JSON as a property called stream whose value is a JSON object with properties as defined in [TODO: xref the JSON serialization of a Media Link Construct]
- Embed Code
- An HTML fragment that, when embedded in an HTML page, will provide an interactive player UI for the audio stream. Represented in JSON as a property called embedCode whose value is a JSON string containing the fragment of HTML.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
embedCode |
private static long |
serialVersionUID |
private java.lang.String |
streamLink |
Constructor and Description |
---|
Audio() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEmbedCode()
Get the value of embedCode
|
java.lang.String |
getStreamLink()
Get the value of streamLink
|
java.lang.String |
getTypeIRI() |
void |
setEmbedCode(java.lang.String newembedCode)
Set the value of embedCode
|
void |
setStreamLink(java.lang.String newstreamLink)
Set the value of streamLink
|
getAddress, getLocation, setAddress, setLocation
clone, equals, findRelatedLink, getAlternateLinks, getAuthors, getCategories, getContents, getContributors, getCreated, getForeignMarkup, getId, getIssued, getModified, getModule, getModules, getOtherLinks, getPublished, getRights, getSource, getSummary, getTitle, getTitleEx, getUpdated, getXmlBase, hashCode, isMediaEntry, setAlternateLinks, setAuthors, setCategories, setContents, setContributors, setCreated, setForeignMarkup, setId, setIssued, setModified, setModules, setOtherLinks, setPublished, setRights, setSource, setSummary, setTitle, setTitleEx, setUpdated, setXmlBase, toString
private static final long serialVersionUID
private java.lang.String embedCode
private java.lang.String streamLink
public void setEmbedCode(java.lang.String newembedCode)
newembedCode
- new value of embedCodepublic java.lang.String getEmbedCode()
public void setStreamLink(java.lang.String newstreamLink)
newstreamLink
- new value of streamLinkpublic java.lang.String getStreamLink()
public java.lang.String getTypeIRI()
getTypeIRI
in class ActivityObject