com.sola.instagram.model
Class Media.UserPhotoTag
java.lang.Object
com.sola.instagram.model.Media.UserPhotoTag
- Enclosing class:
- Media
public class Media.UserPhotoTag
- extends java.lang.Object
Object for a user photo tag
with the JSON representation
{
"user": {
"username": "kevin",
"full_name": "Kevin S",
"id": "3",
"profile_picture": "..."
},
"position": {
"x": 0.315,
"y": 0.9111
}
}
- Version:
- 2012-08-22
- Author:
- Sola Ogunsakin
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Media.UserPhotoTag
public Media.UserPhotoTag(JSONObject obj)
throws JSONException
- Makes a new UserPhotoTag object out of a JSONObject
- Parameters:
obj
- json representation of the tag
- Throws:
JSONException
getX
public double getX()
getY
public double getY()
getUser
public User getUser()