public interface MediaLink extends ExtendableBean
MediaLink interface.
| Modifier and Type | Interface and Description |
|---|---|
static class |
MediaLink.Field
Fields that represent the JSON elements.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getDuration()
Returns the duration of this media.
|
Integer |
getHeight()
Sets the height of this media.
|
ExtendableBean |
getOpenSocial()
getOpenSocial
|
String |
getUrl()
Returns the target URL of this MediaLink.
|
Integer |
getWidth()
Returns the width of this media.
|
void |
setDuration(Integer duration)
Sets the duration of this media.
|
void |
setHeight(Integer height)
Sets the height of this media.
|
void |
setOpenSocial(ExtendableBean opensocial)
setOpenSocial
|
void |
setUrl(String url)
Sets the target URL for this MediaLink.
|
void |
setWidth(Integer width)
Sets the width of this media.
|
Integer getDuration()
void setDuration(Integer duration)
duration - is the target's durationInteger getHeight()
void setHeight(Integer height)
height - is the target's heightString getUrl()
void setUrl(String url)
target - a target linkInteger getWidth()
Returns the width of this media.
void setWidth(Integer width)
width - is the target's widthExtendableBean getOpenSocial()
getOpenSocial
ExtendableBean objectvoid setOpenSocial(ExtendableBean opensocial)
setOpenSocial
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.