|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MediaItem
A container for the media item.
| Nested Class Summary | |
|---|---|
static class |
MediaItem.Field
Fields for MediaItem. |
static class |
MediaItem.Type
An enumeration of potential media types. |
| Method Summary | |
|---|---|
String |
getAlbumId()
Get the album which the media item belongs to. |
String |
getCreated()
Get the creation time |
String |
getDescription()
Get the description of the media item |
String |
getDuration()
Get the playtime length in seconds of the MediaItem |
String |
getFileSize()
Get the MediaItem's file size |
String |
getId()
Get the MediaItem's id |
String |
getLanguage()
Get the language associated with the media item in ISO 639-3 format |
String |
getLastUpdated()
Get the update time associated with the media item |
Address |
getLocation()
Get the location corresponding to the media item |
String |
getMimeType()
Get the mime type for this Media item. |
String |
getNumComments()
Get the number of comments on the media item |
String |
getNumViews()
Get the number of views for the media item |
String |
getNumVotes()
Get the number of votes received for voting. |
String |
getRating()
Get the average rating of the media item on a scale of 0-10 |
String |
getStartTime()
Get the time when the content is available. |
String |
getTaggedPeople()
Get people tagged in the media item. |
String |
getTags()
Get tags associated with this media item. |
String |
getThumbnailUrl()
Get the thumbnail URL for the media item. |
String |
getTitle()
Get the title for this media item |
MediaItem.Type |
getType()
Get the Type of this media item, either audio, image or video. |
String |
getUrl()
Get a URL for the media item. |
void |
setAlbumId(String albumId)
Set the album id which the media item belongs to. |
void |
setCreated(String created)
Set the creation time |
void |
setDescription(String description)
Set the description of the media item |
void |
setDuration(String duration)
Set the playtime length in seconds of the MediaItem |
void |
setFileSize(String fileSize)
Set the number of bytes for the MediaItem |
void |
setId(String id)
Set the MediaItem's id |
void |
setLanguage(String language)
Set the language associated with the media item in ISO 639-3 format |
void |
setLastUpdated(String lastUpdated)
Set the update time associated with the media item |
void |
setLocation(Address location)
Set the location corresponding to the media item |
void |
setMimeType(String mimeType)
Set the mimetype for this Media Item. |
void |
setNumComments(String numComments)
Set the number of comments on the media item |
void |
setNumViews(String numViews)
Set the number of views for the media item |
void |
setNumVotes(String numVotes)
Set the number of votes received for voting. |
void |
setRating(String rating)
Set the average rating of the media item on a scale of 0-10 |
void |
setStartTime(String startTime)
Set the the time when the content is available. |
void |
setTaggedPeople(String taggedPeople)
Set people tagged in the media item. |
void |
setTags(String tags)
Set tags associated with this media item. |
void |
setThumbnailUrl(String url)
Set a thumbnail URL for the media item. |
void |
setTitle(String title)
Set the title for this media item |
void |
setType(MediaItem.Type type)
Get the Type of this media item, either audio, image or video. |
void |
setUrl(String url)
Set a URL for the media item. |
| Method Detail |
|---|
String getMimeType()
void setMimeType(String mimeType)
mimeType - the mimeTypeMediaItem.Type getType()
void setType(MediaItem.Type type)
type - the type of this media itemString getUrl()
void setUrl(String url)
url - the media item URLString getThumbnailUrl()
void setThumbnailUrl(String url)
url - the thumbnail URL of the MediaItemString getAlbumId()
void setAlbumId(String albumId)
albumId - the album idString getCreated()
void setCreated(String created)
created - creation time associated with the media item in UTC.String getDescription()
void setDescription(String description)
description - String getDuration()
void setDuration(String duration)
duration - String getFileSize()
void setFileSize(String fileSize)
fileSize - String getId()
void setId(String id)
id - String getLanguage()
void setLanguage(String language)
language - String getLastUpdated()
void setLastUpdated(String lastUpdated)
lastUpdated - Address getLocation()
void setLocation(Address location)
location - String getNumComments()
void setNumComments(String numComments)
numComments - String getNumViews()
void setNumViews(String numViews)
numViews - String getNumVotes()
void setNumVotes(String numVotes)
numVotes - String getRating()
void setRating(String rating)
rating - String getStartTime()
void setStartTime(String startTime)
startTime - String getTaggedPeople()
void setTaggedPeople(String taggedPeople)
taggedPeople - String getTags()
void setTags(String tags)
tags - String getTitle()
void setTitle(String title)
title -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||