com.google.code.facebookapi
Class AttachmentMediaVideo

java.lang.Object
  extended by com.google.code.facebookapi.AttachmentMedia
      extended by com.google.code.facebookapi.AttachmentMediaVideo
All Implemented Interfaces:
ToJsonObject, java.io.Serializable

Deprecated.

@Deprecated
public class AttachmentMediaVideo
extends AttachmentMedia

Facebook has deprecated this http://developers.facebook.com/news.php?blog=1&story=340 A simple data structure for video media type used by Attachment.

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

Constructor Summary
AttachmentMediaVideo()
          Deprecated.  
AttachmentMediaVideo(java.lang.String videoSrc, java.lang.String previewImg, java.lang.String title, java.lang.String type, java.lang.String link)
          Deprecated. Construct a video attachment.
 
Method Summary
 java.lang.String getLink()
          Deprecated.  
 java.lang.String getPreviewImg()
          Deprecated.  
 java.lang.String getTitle()
          Deprecated.  
 java.lang.String getType()
          Deprecated.  
 java.lang.String getVideoSrc()
          Deprecated.  
 void setLink(java.lang.String link)
          Deprecated.  
 void setPreviewImg(java.lang.String previewImg)
          Deprecated.  
 void setTitle(java.lang.String title)
          Deprecated.  
 void setType(java.lang.String type)
          Deprecated.  
 void setVideoSrc(java.lang.String videoSrc)
          Deprecated.  
 org.json.JSONObject toJson()
          Deprecated.  
 
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

AttachmentMediaVideo

public AttachmentMediaVideo()
Deprecated. 

AttachmentMediaVideo

public AttachmentMediaVideo(java.lang.String videoSrc,
                            java.lang.String previewImg,
                            java.lang.String title,
                            java.lang.String type,
                            java.lang.String link)
Deprecated. 
Construct a video attachment.

Parameters:
videoSrc - URL of the video to be rendered. (required)
previewImg - URL of an image that should be displayed in place of the video until the user clicks to play. (required)
title - Video title. (optional)
type - Video type, default is "application/x-shockwave-flash". (optional)
link - Video link, default is value of videoSrc. (optional)
Method Detail

toJson

public org.json.JSONObject toJson()
Deprecated. 
Specified by:
toJson in interface ToJsonObject
Overrides:
toJson in class AttachmentMedia
Returns:
a JSON representation of attachment.

getVideoSrc

public java.lang.String getVideoSrc()
Deprecated. 

setVideoSrc

public void setVideoSrc(java.lang.String videoSrc)
Deprecated. 

getPreviewImg

public java.lang.String getPreviewImg()
Deprecated. 

setPreviewImg

public void setPreviewImg(java.lang.String previewImg)
Deprecated. 

getTitle

public java.lang.String getTitle()
Deprecated. 

setTitle

public void setTitle(java.lang.String title)
Deprecated. 

getType

public java.lang.String getType()
Deprecated. 

setType

public void setType(java.lang.String type)
Deprecated. 

getLink

public java.lang.String getLink()
Deprecated. 

setLink

public void setLink(java.lang.String link)
Deprecated. 


Copyright © 2010. All Rights Reserved.