public interface MediaLink
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.
|
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 |
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)
url
- a target linkInteger getWidth()
Returns the width of this media.
void setWidth(Integer width)
width
- is the target's widthCopyright © 2020 WSO2. All Rights Reserved.