|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Album
The Album API describes the collection of MediaItems of images, movies, and audio.
Please see http://www.opensocial.org/Technical-Resources/opensocial-spec-v09/OpenSocial-Specification.html#opensocial.Album.Field for details about the supported fields.
| Nested Class Summary | |
|---|---|
static class |
Album.Field
The fields that represent the Album object in json form. |
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Get a string specifying the description of this album. |
java.lang.String |
getId()
Get a string ID specifying the unique identifier of this album. |
Address |
getLocation()
Get address location of this album. |
java.lang.Integer |
getMediaItemCount()
Get the number of items in the album. |
java.util.List<java.lang.String> |
getMediaMimeType()
Get the identifying mime-types of the items in the album. |
java.util.List<MediaItem.Type> |
getMediaType()
Get the list of media item types for the items in the album. |
java.lang.String |
getOwnerId()
Get the ID of the owner of the album. |
java.lang.String |
getThumbnailUrl()
Get the URL to the thumbnail cover image for the album. |
java.lang.String |
getTitle()
Get the title of the album. |
void |
setDescription(java.lang.String description)
Set the description of this album. |
void |
setId(java.lang.String id)
Set a string ID specifying a unique identifier of this album. |
void |
setLocation(Address location)
Set the address location of this album. |
void |
setMediaItemCount(java.lang.Integer mediaItemCount)
Set the number of items in the album. |
void |
setMediaMimeType(java.util.List<java.lang.String> mediaMimeType)
Set the identifying mime-types of the items in the album. |
void |
setMediaType(java.util.List<MediaItem.Type> mediaType)
Set the list of media item types for the items in the album. |
void |
setOwnerId(java.lang.String ownerId)
Set the string ID of the owner of the album. |
void |
setThumbnailUrl(java.lang.String thumbnailUrl)
Set the URL of the thumbnail cover image for the album. |
void |
setTitle(java.lang.String title)
Set the title of the album. |
| Method Detail |
|---|
java.lang.String getDescription()
void setDescription(java.lang.String description)
description - a string specifying the description of this album.java.lang.String getId()
void setId(java.lang.String id)
id - a string ID specifying the unique identifier of this album.Address getLocation()
void setLocation(Address location)
location - an Address specifying the location of this album.java.lang.Integer getMediaItemCount()
void setMediaItemCount(java.lang.Integer mediaItemCount)
mediaItemCount - an integer specifying the number of items in the album.java.util.List<java.lang.String> getMediaMimeType()
void setMediaMimeType(java.util.List<java.lang.String> mediaMimeType)
mediaMimeType - a List of strings specifying the mime-types of the items in the album.java.util.List<MediaItem.Type> getMediaType()
void setMediaType(java.util.List<MediaItem.Type> mediaType)
mediaType - List of MediaItem.Type specifying media item types for items in the album.java.lang.String getOwnerId()
void setOwnerId(java.lang.String ownerId)
ownerId - a string ID that identify the owner of the album.java.lang.String getThumbnailUrl()
void setThumbnailUrl(java.lang.String thumbnailUrl)
thumbnailUrl - a string specifying the URL for thumbnail cover image of the album.java.lang.String getTitle()
void setTitle(java.lang.String title)
title - a string specifying the title of the album.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||