|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MediaData
An interface for anything that supports mediarss content to implement, provides helpful get and set methods for getting and setting mediarss elements. This takes some of the pain out of sticking data into the media group nested element. This interface is currently supported by the album and photo data interfaces.
Method Summary | |
---|---|
java.util.List<MediaCategory> |
getMediaCategories()
Retrieve the list of media:category elements inside the media:group on this element. |
java.util.List<MediaContent> |
getMediaContents()
Retrieve the list of media:content elements inside the media:group on this element. |
java.util.List<MediaCredit> |
getMediaCredits()
Retrieve the list of media:credit elements inside the media:group on this element. |
MediaGroup |
getMediaGroup()
Retrieve the media:group element on this element. |
MediaKeywords |
getMediaKeywords()
Retrieve the list of media:keywords elements inside the media:group on this element. |
java.util.List<MediaThumbnail> |
getMediaThumbnails()
Retrieve the list of media:thumbnail elements inside the media:group on this element. |
void |
setKeywords(MediaKeywords keywords)
Set the media keywords on this element to the given keywords. |
Methods inherited from interface com.google.gdata.data.photos.Extensible |
---|
addExtension, addRepeatingExtension, declareExtensions, removeExtension, removeExtension, removeRepeatingExtension, setExtension |
Method Detail |
---|
MediaGroup getMediaGroup()
java.util.List<MediaContent> getMediaContents()
java.util.List<MediaCategory> getMediaCategories()
java.util.List<MediaCredit> getMediaCredits()
java.util.List<MediaThumbnail> getMediaThumbnails()
MediaKeywords getMediaKeywords()
null
will be returned.
null
.void setKeywords(MediaKeywords keywords)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |