|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sola.instagram.model.Media.Image
public class Media.Image
Object for a media image with the JSON representation
{ "url":"", "width":0, "height":0 }
Constructor Summary | |
---|---|
Media.Image(org.json.JSONObject obj)
Makes a new Image object out of a JSONObject |
Method Summary | |
---|---|
int |
getHeigth()
Returns the height of this image |
java.lang.String |
getUri()
Returns the url link to this image |
int |
getWidth()
Returns the width of this image |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Media.Image(org.json.JSONObject obj) throws org.json.JSONException
obj
- json object used to create this image
InstagramException
org.json.JSONException
Method Detail |
---|
public java.lang.String getUri()
public int getWidth()
public int getHeigth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |