-
- All Implemented Interfaces:
-
org.readium.r2.shared.publication.services.content.Content.AttributesHolder,org.readium.r2.shared.publication.services.content.Content.Element,org.readium.r2.shared.publication.services.content.Content.EmbeddedElement,org.readium.r2.shared.publication.services.content.Content.TextualElement
public final class Content.AudioElement implements Content.EmbeddedElement, Content.TextualElement
An audio clip.
-
-
Field Summary
Fields Modifier and Type Field Description private final Locatorlocatorprivate final LinkembeddedLinkprivate final List<Content.Attribute<?>>attributesprivate final Languagelanguageprivate final StringaccessibilityLabelprivate final Stringtext
-
Constructor Summary
Constructors Constructor Description Content.AudioElement(Locator locator, Link embeddedLink, List<Content.Attribute<?>> attributes)
-
Method Summary
Modifier and Type Method Description LocatorgetLocator()Locator targeting this element in the Publication. LinkgetEmbeddedLink()Referenced resource in the publication. List<Content.Attribute<?>>getAttributes()Associated list of attributes. LanguagegetLanguage()StringgetAccessibilityLabel()StringgetText()-
-
Constructor Detail
-
Content.AudioElement
Content.AudioElement(Locator locator, Link embeddedLink, List<Content.Attribute<?>> attributes)
-
-
Method Detail
-
getLocator
Locator getLocator()
Locator targeting this element in the Publication.
-
getEmbeddedLink
Link getEmbeddedLink()
Referenced resource in the publication.
-
getAttributes
List<Content.Attribute<?>> getAttributes()
Associated list of attributes.
-
getLanguage
Language getLanguage()
-
getAccessibilityLabel
String getAccessibilityLabel()
-
-
-
-