public interface MediaLink

MediaLink interface.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Fields that represent the JSON elements.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the duration of this media.
    Sets the height of this media.
    Returns the target URL of this MediaLink.
    Returns the width of this media.
    void
    setDuration(Integer duration)
    Sets the duration of this media.
    void
    Sets the height of this media.
    void
    Sets the target URL for this MediaLink.
    void
    Sets the width of this media.
  • Method Details

    • 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