org.wso2.carbon.registry.social.api.activityStream
Interface MediaLink


public interface MediaLink

MediaLink interface.


Nested Class Summary
static class MediaLink.Field
          Fields that represent the JSON elements.
 
Method Summary
 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.
 

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


Copyright © 2013 WSO2 Inc. All Rights Reserved.