com.restfb.types
Class Video

java.lang.Object
  extended by com.restfb.types.FacebookType
      extended by com.restfb.types.Video

public class Video
extends FacebookType

Represents the Video Graph API type.

Since:
1.5
Author:
Mark Allen

Nested Class Summary
 
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
 
Constructor Summary
Video()
           
 
Method Summary
 Date getCreatedTime()
          The time the video was initially published.
 String getDescription()
          The long-form HTML description of the video.
 CategorizedFacebookType getFrom()
          An object containing the name and ID of the user who posted the video.
 Integer getLength()
          The length of the video, in seconds.
 String getMessage()
          The video title / caption.
 Date getUpdatedTime()
          The last time the video or its caption were updated.
 
Methods inherited from class com.restfb.types.FacebookType
equals, getId, getMetadata, getType, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Video

public Video()
Method Detail

getFrom

public CategorizedFacebookType getFrom()
An object containing the name and ID of the user who posted the video.

Returns:
An object containing the name and ID of the user who posted the video.

getMessage

public String getMessage()
The video title / caption.

Returns:
The video title / caption.

getDescription

public String getDescription()
The long-form HTML description of the video.

Returns:
The long-form HTML description of the video.

getLength

public Integer getLength()
The length of the video, in seconds.

Returns:
The length of the video, in seconds.

getCreatedTime

public Date getCreatedTime()
The time the video was initially published.

Returns:
The time the video was initially published.

getUpdatedTime

public Date getUpdatedTime()
The last time the video or its caption were updated.

Returns:
The last time the video or its caption were updated.


RestFB version 1.5.3. Copyright © 2010 Mark Allen. All Rights Reserved.