public class

MediaContent

extends OutOfLineContent
implements IMediaContent
java.lang.Object
   ↳ com.google.gdata.data.Content
     ↳ com.google.gdata.data.OutOfLineContent
       ↳ com.google.gdata.data.MediaContent

Class Overview

The MediaContent class extends OutOfLineContent to add MediaSource handling for the content. This class is used in contexts where a client or provider wants to provide access to the actual media data via a MediaSource (instead of an href).

Summary

Fields
protected MediaSource mediaSource MediaSource associated with the external content.
[Expand]
Inherited Fields
From class com.google.gdata.data.OutOfLineContent
Public Constructors
MediaContent()
Public Methods
static Content.ChildHandlerInfo getChildHandler(ExtensionProfile extProfile, Attributes attrs)
MediaSource getMediaSource()
Returns the media source associated with the content or null.
void setMediaSource(MediaSource v)
Sets the media source associated with the content (may be null if no supplied content.
[Expand]
Inherited Methods
From class com.google.gdata.data.OutOfLineContent
From class com.google.gdata.data.Content
From class java.lang.Object
From interface com.google.gdata.data.IContent
From interface com.google.gdata.data.IOutOfLineContent
From interface com.google.gdata.data.media.IMediaContent

Fields

protected MediaSource mediaSource

MediaSource associated with the external content.

Public Constructors

public MediaContent ()

Public Methods

public static Content.ChildHandlerInfo getChildHandler (ExtensionProfile extProfile, Attributes attrs)

Parameters
extProfile
attrs
Throws
IOException
ParseException

public MediaSource getMediaSource ()

Returns the media source associated with the content or null.

public void setMediaSource (MediaSource v)

Sets the media source associated with the content (may be null if no supplied content.

Parameters
v