Interface MediaLink
-
public interface MediaLinkMediaLink interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMediaLink.FieldFields that represent the JSON elements.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntegergetDuration()Returns the duration of this media.IntegergetHeight()Sets the height of this media.StringgetUrl()Returns the target URL of this MediaLink.IntegergetWidth()Returns the width of this media.voidsetDuration(Integer duration)Sets the duration of this media.voidsetHeight(Integer height)Sets the height of this media.voidsetUrl(String url)Sets the target URL for this MediaLink.voidsetWidth(Integer width)Sets the width of this media.
-
-
-
Method Detail
-
getDuration
Integer getDuration()
Returns the duration of this media.- Returns:
- Integer is the target's duration
-
setDuration
void setDuration(Integer duration)
Sets the duration of this media.- Parameters:
duration- is the target's duration
-
getHeight
Integer getHeight()
Sets the height of this media.- Returns:
- Integer the target's height
-
setHeight
void setHeight(Integer height)
Sets the height of this media.- Parameters:
height- is the target's height
-
getUrl
String getUrl()
Returns the target URL of this MediaLink.- Returns:
- a target
-
setUrl
void setUrl(String url)
Sets the target URL for this MediaLink.- Parameters:
url- a target link
-
getWidth
Integer getWidth()
Returns the width of this media.
- Returns:
- Integer the target's width
-
setWidth
void setWidth(Integer width)
Sets the width of this media.- Parameters:
width- is the target's width
-
-