|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.code.facebookapi.PhotoTag
public class PhotoTag
Data structure for representing a photo tag. Required by some API calls.
| Constructor Summary | |
|---|---|
PhotoTag(long taggedUserId,
double x,
double y)
Constructor. |
|
PhotoTag(java.lang.String text,
double x,
double y)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.Long |
getTaggedUserId()
|
java.lang.String |
getText()
|
double |
getX()
|
double |
getY()
|
boolean |
hasTaggedUser()
Check to see if this PhotoTag is tagging a specific Facebook user |
org.json.JSONObject |
jsonify()
Convert the tag to a JSON representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PhotoTag(java.lang.String text,
double x,
double y)
text - the text/label associated with this tagx - the 'x' offset for the tegged regiony - the 'y' offset for the tagged region
public PhotoTag(long taggedUserId,
double x,
double y)
taggedUserId - the UID of the user being tagged in the imagex - the 'x' offset for the tegged regiony - the 'y' offset for the tagged region| Method Detail |
|---|
public boolean hasTaggedUser()
public double getX()
public double getY()
public java.lang.String getText()
public java.lang.Long getTaggedUserId()
public org.json.JSONObject jsonify()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||