Interface MediaLink


  • public interface MediaLink

    MediaLink interface.

    • 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