|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sola.instagram.model.VideoMedia.Video
public class VideoMedia.Video
Object for a media video with the JSON representation
{ "url":"", "width":0, "height":0 }
Constructor Summary | |
---|---|
VideoMedia.Video(JSONObject obj)
Makes a new Video object out of a JSONObject |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Checks if two video objects are equal |
int |
getHeigth()
Returns the height of this video |
java.lang.String |
getUri()
Returns the url link to this video |
int |
getWidth()
Returns the width of this video |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VideoMedia.Video(JSONObject obj) throws JSONException
obj
- json object used to create this video
JSONException
Method Detail |
---|
public java.lang.String getUri()
public int getWidth()
public int getHeigth()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- The object to be compared
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |