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.
Constructor and Description |
---|
Audio() |
Modifier and Type | Method and Description |
---|---|
String |
getEmbedCode()
Get the value of embedCode
|
String |
getStreamLink()
Get the value of streamLink
|
String |
getTypeIRI() |
void |
setEmbedCode(String newembedCode)
Set the value of embedCode
|
void |
setStreamLink(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
public void setEmbedCode(String newembedCode)
newembedCode
- new value of embedCodepublic String getEmbedCode()
public void setStreamLink(String newstreamLink)
newstreamLink
- new value of streamLinkpublic String getStreamLink()
public String getTypeIRI()
getTypeIRI
in class ActivityObject
Copyright © 2022. All rights reserved.