Class Audio
- java.lang.Object
-
- com.rometools.rome.feed.atom.Entry
-
- com.rometools.modules.activitystreams.types.ActivityObject
-
- com.rometools.modules.activitystreams.types.Audio
-
- All Implemented Interfaces:
HasLocation,Extendable,Serializable,Cloneable
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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Audio()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEmbedCode()Get the value of embedCodeStringgetStreamLink()Get the value of streamLinkStringgetTypeIRI()voidsetEmbedCode(String newembedCode)Set the value of embedCodevoidsetStreamLink(String newstreamLink)Set the value of streamLink-
Methods inherited from class com.rometools.modules.activitystreams.types.ActivityObject
getAddress, getLocation, setAddress, setLocation
-
Methods inherited from class com.rometools.rome.feed.atom.Entry
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
-
-
-
-
Method Detail
-
setEmbedCode
public void setEmbedCode(String newembedCode)
Set the value of embedCode- Parameters:
newembedCode- new value of embedCode
-
getEmbedCode
public String getEmbedCode()
Get the value of embedCode- Returns:
- the value of embedCode
-
setStreamLink
public void setStreamLink(String newstreamLink)
Set the value of streamLink- Parameters:
newstreamLink- new value of streamLink
-
getStreamLink
public String getStreamLink()
Get the value of streamLink- Returns:
- the value of streamLink
-
getTypeIRI
public String getTypeIRI()
- Specified by:
getTypeIRIin classActivityObject
-
-