Class VideoInfo


  • public class VideoInfo
    extends java.lang.Object
    VideoInfo
    • Constructor Summary

      Constructors 
      Constructor Description
      VideoInfo​(java.lang.String src, java.lang.String width, java.lang.String height, int type)  
      VideoInfo​(JSONObject json)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getHeight()
      Returns the image height.
      int getType()  
      java.lang.String getUrl()  
      java.lang.Integer getWidth()
      Returns the image width.
      void setType​(int type)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VideoInfo

        public VideoInfo​(JSONObject json)
      • VideoInfo

        public VideoInfo​(java.lang.String src,
                         java.lang.String width,
                         java.lang.String height,
                         int type)
    • Method Detail

      • getWidth

        public java.lang.Integer getWidth()
        Returns the image width.

        Returns:
        null if width isn't available
      • getHeight

        public java.lang.Integer getHeight()
        Returns the image height.

        Returns:
        null if height isn't available
      • getUrl

        public java.lang.String getUrl()
      • getType

        public int getType()
      • setType

        public void setType​(int type)