MediaItem.Field, MediaItem.Type| Constructor and Description |
|---|
MediaItemImpl() |
MediaItemImpl(String mimeType,
MediaItem.Type type,
String url) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public MediaItemImpl()
public MediaItemImpl(String mimeType, MediaItem.Type type, String url)
public String getMimeType()
MediaItemgetMimeType in interface MediaItempublic void setMimeType(String mimeType)
setMimeType in interface MediaItemmimeType - the mimeTypepublic MediaItem.Type getType()
MediaItempublic void setType(MediaItem.Type type)
MediaItempublic String getUrl()
MediaItempublic void setUrl(String url)
public String getThumbnailUrl()
MediaItemgetThumbnailUrl in interface MediaItempublic void setThumbnailUrl(String url)
setThumbnailUrl in interface MediaItemurl - the thumbnail URL of the MediaItempublic String getAlbumId()
MediaItemgetAlbumId in interface MediaItempublic void setAlbumId(String albumId)
setAlbumId in interface MediaItemalbumId - the album idpublic String getCreated()
MediaItemgetCreated in interface MediaItempublic void setCreated(String created)
setCreated in interface MediaItemcreated - creation time associated with the media item in UTC.public String getDescription()
MediaItemgetDescription in interface MediaItempublic void setDescription(String description)
setDescription in interface MediaItempublic String getDuration()
MediaItemgetDuration in interface MediaItempublic void setDuration(String duration)
setDuration in interface MediaItempublic String getFileSize()
MediaItemgetFileSize in interface MediaItempublic void setFileSize(String fileSize)
setFileSize in interface MediaItempublic void setId(String id)
public String getLanguage()
MediaItemgetLanguage in interface MediaItempublic void setLanguage(String language)
setLanguage in interface MediaItempublic String getLastUpdated()
MediaItemgetLastUpdated in interface MediaItempublic void setLastUpdated(String lastUpdated)
setLastUpdated in interface MediaItempublic Address getLocation()
MediaItemgetLocation in interface MediaItempublic void setLocation(Address location)
setLocation in interface MediaItempublic String getNumComments()
MediaItemgetNumComments in interface MediaItempublic void setNumComments(String numComments)
setNumComments in interface MediaItempublic String getNumViews()
MediaItemgetNumViews in interface MediaItempublic void setNumViews(String numViews)
setNumViews in interface MediaItempublic String getNumVotes()
MediaItemgetNumVotes in interface MediaItempublic void setNumVotes(String numVotes)
setNumVotes in interface MediaItempublic String getRating()
MediaItempublic void setRating(String rating)
public String getStartTime()
MediaItemgetStartTime in interface MediaItempublic void setStartTime(String startTime)
setStartTime in interface MediaItempublic String getTaggedPeople()
MediaItemgetTaggedPeople in interface MediaItempublic void setTaggedPeople(String taggedPeople)
setTaggedPeople in interface MediaItempublic String getTags()
MediaItempublic void setTags(String tags)
public String getTitle()
MediaItemCopyright © 2007-2012. All Rights Reserved.