|
||||||||||
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(org.json.JSONObject captionObject)
Makes a new caption object out of a JSONObject |
Method Summary | |
---|---|
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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Media.Caption(org.json.JSONObject captionObject) throws InstagramException
captionObject
- json object used to create this caption
InstagramException
Method Detail |
---|
public java.lang.String getText()
public java.lang.String getCreatedTimestamp()
public User getFrom()
public java.lang.String getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |