|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sola.instagram.model.Media.Caption
public class Media.Caption
Object for a media caption with the JSON representation
{ "created_time":"", "text":"", "from": { "username":"", "profile_picture":"", "id":"", "full_name":"" }, "id":"" }
Constructor Summary | |
---|---|
Media.Caption(JSONObject captionObject)
Makes a new caption object out of a JSONObject |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Checks if two caption objects are equal |
java.lang.String |
getCreatedTimestamp()
Returns the caption's creation timestamp as a string |
User |
getFrom()
Returns the creator of this caption |
java.lang.String |
getId()
Returns id of this caption |
java.lang.String |
getText()
Returns the text for this caption |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Media.Caption(JSONObject captionObject) throws JSONException
captionObject
- json object used to create this caption
JSONException
Method Detail |
---|
public java.lang.String getText()
public java.lang.String getCreatedTimestamp()
public User getFrom()
public java.lang.String getId()
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 |