|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.code.facebookapi.AttachmentMedia
com.google.code.facebookapi.AttachmentMediaImage
public class AttachmentMediaImage
A simple data structure for image media type used by Attachment.
http://wiki.developers.facebook.com/index.php/Attachment_(Streams)}| Constructor Summary | |
|---|---|
AttachmentMediaImage()
|
|
| Method Summary | |
|---|---|
void |
addImage(java.lang.String src,
java.lang.String href)
Add an image. |
org.json.JSONArray |
toJson()
|
| Methods inherited from class com.google.code.facebookapi.AttachmentMedia |
|---|
getMediaType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttachmentMediaImage()
| Method Detail |
|---|
public void addImage(java.lang.String src,
java.lang.String href)
src - URL of the image.href - Location to link image to.public org.json.JSONArray toJson()
toJson in class AttachmentMedia
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||