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