com.google.gwt.gadgets.client.osapi.mediaitems
Class MediaItem

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.gadgets.client.osapi.mediaitems.MediaItem

public class MediaItem
extends com.google.gwt.core.client.JavaScriptObject

A class representing images, movies, and audio.


Constructor Summary
protected MediaItem()
          Required by JavaScriptObject policy.
 
Method Summary
 java.lang.String getDescription()
          Returns description of the media item.
 java.lang.String getId()
          Returns id Associated with the media item.
 java.lang.String getThumbnailUrl()
          Returns URL to a thumbnail image of the media item.
 java.lang.String getTitle()
          Returns title describing the media item.
 java.lang.String getUrl()
          Returns the URL where the media can be found.
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MediaItem

protected MediaItem()
Required by JavaScriptObject policy.

Method Detail

getDescription

public final java.lang.String getDescription()
Returns description of the media item.

Returns:
Description of the media item.

getId

public final java.lang.String getId()
Returns id Associated with the media item.

Returns:
Id Associated with the media item.

getThumbnailUrl

public final java.lang.String getThumbnailUrl()
Returns URL to a thumbnail image of the media item.

Returns:
URL to a thumbnail image of the media item.

getTitle

public final java.lang.String getTitle()
Returns title describing the media item.

Returns:
Title describing the media item.

getUrl

public final java.lang.String getUrl()
Returns the URL where the media can be found.

Returns:
The URL where the media can be found.