Interface MediaLink
public interface MediaLink
MediaLink interface.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumFields that represent the JSON elements. -
Method Summary
Modifier and TypeMethodDescriptionReturns the duration of this media.Sets the height of this media.getUrl()Returns the target URL of this MediaLink.getWidth()Returns the width of this media.voidsetDuration(Integer duration) Sets the duration of this media.voidSets the height of this media.voidSets the target URL for this MediaLink.voidSets the width of this media.
-
Method Details
-
getDuration
Integer getDuration()Returns the duration of this media.- Returns:
- Integer is the target's duration
-
setDuration
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
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
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
Sets the width of this media.- Parameters:
width- is the target's width
-