com.google.code.facebookapi
Class AttachmentMedia

java.lang.Object
  extended by com.google.code.facebookapi.AttachmentMedia
Direct Known Subclasses:
AttachmentMediaFlash, AttachmentMediaImage, AttachmentMediaMP3, AttachmentMediaVideo

public abstract class AttachmentMedia
extends java.lang.Object

Abstract class for attachment media types.

See Also:
http://wiki.developers.facebook.com/index.php/Attachment_(Streams)}

Constructor Summary
protected AttachmentMedia(java.lang.String mediaType)
           
 
Method Summary
 java.lang.String getMediaType()
           
abstract  org.json.JSONArray toJson()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentMedia

protected AttachmentMedia(java.lang.String mediaType)
Method Detail

toJson

public abstract org.json.JSONArray toJson()
Returns:
JSON Array of this media attachment.

getMediaType

public java.lang.String getMediaType()
Returns:
Type of this media attachment.


Copyright © 2009. All Rights Reserved.