com.sola.instagram.model
Class Media.UserPhotoTag

java.lang.Object
  extended by 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

Constructor Summary
Media.UserPhotoTag(JSONObject obj)
          Makes a new UserPhotoTag object out of a JSONObject
 
Method Summary
 User getUser()
           
 double getX()
           
 double getY()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

getX

public double getX()

getY

public double getY()

getUser

public User getUser()