| java.lang.Object | ||||
| ↳ | com.google.gdata.data.AbstractExtension | |||
| ↳ | com.google.gdata.data.ExtensionPoint | |||
| ↳ | com.google.gdata.data.media.mediarss.MediaGroup | |||
| ↳ | com.google.gdata.data.youtube.YouTubeMediaGroup | |||
Subset of <media:group>.
See description on
http://search.yahoo.com/mrss.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | UPLOADER_ROLE | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds a
media:content tag. | |||||||||||
Adds a new
MediaContent. | |||||||||||
Adds a
media:credit tag. | |||||||||||
Adds a new
MediaCredit. | |||||||||||
Adds a
media:rating tag. | |||||||||||
Adds a new
MediaRating. | |||||||||||
Clears the list of
media:content tags. | |||||||||||
Clears the list of
media:credit tags. | |||||||||||
Clears the list of
media:rating tags. | |||||||||||
Declare extensions available in media:group on youtube feeds.
| |||||||||||
Gets a read-only list of
MediaContent. | |||||||||||
Gets a read-only list of
MediaCredit. | |||||||||||
Gets the duration, in seconds, of the youtube video.
| |||||||||||
Gets a read-only list of
MediaRating. | |||||||||||
Returns the time the video was uploaded at.
| |||||||||||
Gets the YouTube user who uploaded the video.
| |||||||||||
Checks whether the uploader is a partner.
| |||||||||||
Gets the YouTube ID of the video.
| |||||||||||
A YouTube media group can have only one YouTube category defined by this
scheme:
CATEGORY_SCHEME and this method is a
helper for retrieving it. | |||||||||||
Gets a modifiable list of
YouTubeMediaContent. | |||||||||||
Gets a modifiable list of
YouTubeMediaCredit. | |||||||||||
Gets a modifiable list of
YouTubeMediaRating. | |||||||||||
Checks the yt:private flag.
| |||||||||||
Sets the duration, in seconds, of the youtube video.
| |||||||||||
Sets the yt:private flag.
| |||||||||||
Sets or unsets the time the video was uploaded at.
| |||||||||||
Sets the YouTube user who uploaded the video.
| |||||||||||
Sets the YouTube video ID of the video.
| |||||||||||
Sets or changes the previously set YouTube category.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.media.mediarss.MediaGroup
| |||||||||||
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
Adds a new MediaContent.
YouTube entries can only contain YouTubeMediaContent and this
method checks that at runtime. Please use
addContent(YouTubeMediaContent) instead.
| content |
|---|
| IllegalArgumentException | if content is not a
YouTubeMediaContent
|
|---|
Adds a new MediaCredit.
YouTube entries can only contain YouTubeMediaCredit and this
method checks that at runtime. Please use
addCredit(YouTubeMediaCredit) instead.
| credit |
|---|
| IllegalArgumentException | if credit is not a
YouTubeMediaCredit
|
|---|
Adds a new MediaRating.
YouTube entries can only contain YouTubeMediaRating and this
method checks that at runtime. Please use
addRating(YouTubeMediaRating) instead.
| rating |
|---|
| IllegalArgumentException | if rating is not a
YouTubeMediaRating
|
|---|
Clears the list of media:content tags.
Clears the list of media:credit tags.
Clears the list of media:rating tags.
Declare extensions available in media:group on youtube feeds.
| extProfile | The ExtensionProfile to initialize. |
|---|
Gets a read-only list of MediaContent.
YouTube entries only contain YouTubeMediaContent. Please use
getYouTubeContents() instead to make sure you have access to
a modifiable lis.
This collection has been made read-only to make sure only
YouTubeMediaContent are ever added. Please use
getYouTubeContents()/addContent(YouTubeMediaContent) to
modify the list of media:content tags..
MediaContent
Gets a read-only list of MediaCredit.
YouTube entries only contain YouTubeMediaCredit. Please use
getYouTubeCredits() instead to make sure you have access to
a modifiable lis.
This collection has been made read-only to make sure only
YouTubeMediaCredit are ever added. Please use
getYouTubeCredits()/addCredit(YouTubeMediaCredit) to
modify the list of media:credit tags..
MediaCredit
Gets the duration, in seconds, of the youtube video.
Gets a read-only list of MediaRating.
YouTube entries only contain YouTubeMediaRating. Please use
getYouTubeRatings() instead to make sure you have access to
a modifiable lis.
This collection has been made read-only to make sure only
YouTubeMediaRating are ever added. Please use
getYouTubeRatings()/addRating(YouTubeMediaRating) to
modify the list of media:rating tags..
MediaRating
Gets the YouTube user who uploaded the video.
nullChecks whether the uploader is a partner.
Gets the YouTube ID of the video.
A YouTube media group can have only one YouTube category defined by this
scheme: CATEGORY_SCHEME and this method is a
helper for retrieving it. See also: getCategories().
If two or more such categories are specified it cannot be determined which is the right one so this method will return null.
Gets a modifiable list of YouTubeMediaContent.
MediaContent.
Gets a modifiable list of YouTubeMediaCredit.
MediaCredit.
Gets a modifiable list of YouTubeMediaRating.
MediaRating.
Checks the yt:private flag.
Sets the duration, in seconds, of the youtube video.
| seconds |
|---|
Sets the yt:private flag.
| makePrivate |
|---|
Sets or unsets the time the video was uploaded at.
| dateTime |
|---|
Sets the YouTube user who uploaded the video.
| uploader | YouTube user name or null |
|---|
Sets the YouTube video ID of the video.
| videoId |
|---|
Sets or changes the previously set YouTube category.
| name | The new category name to set. |
|---|