Interface MutableMediaLink
-
- All Superinterfaces:
JsonAdaptable,MediaLink
@ProviderType public interface MutableMediaLink extends MediaLink
MutableMediaLink...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MutableMediaLinksetDuration(int duration)MutableMediaLinksetHeight(int height)MutableMediaLinksetProperty(java.lang.String name, java.lang.Object value)Sets the property with the give name and value.MutableMediaLinksetURL(java.lang.String url)MutableMediaLinksetWidth(int width)-
Methods inherited from interface com.adobe.granite.activitystreams.JsonAdaptable
toJSON
-
Methods inherited from interface com.adobe.granite.activitystreams.MediaLink
getDuration, getHeight, getMutableMediaLink, getProperties, getURL, getWidth
-
-
-
-
Method Detail
-
setURL
MutableMediaLink setURL(java.lang.String url)
-
setWidth
MutableMediaLink setWidth(int width)
-
setHeight
MutableMediaLink setHeight(int height)
-
setDuration
MutableMediaLink setDuration(int duration)
-
setProperty
MutableMediaLink setProperty(java.lang.String name, java.lang.Object value)
Sets the property with the give name and value.- Parameters:
name- name of the propertyvalue- value of the property- Returns:
- this object for chaining.
- Since:
- 0.0.10
-
-