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.
| Modifier and Type | Interface and Description |
|---|---|
static class |
Album.Field
The fields that represent the Album object in json form.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Get a string specifying the description of this album.
|
String |
getId()
Get a string ID specifying the unique identifier of this album.
|
Address |
getLocation()
Get address location of this album.
|
Integer |
getMediaItemCount()
Get the number of items in the album.
|
List<String> |
getMediaMimeType()
Get the identifying mime-types of the items in the album.
|
List<MediaItem.Type> |
getMediaType()
Get the list of media item types for the items in the album.
|
String |
getOwnerId()
Get the ID of the owner of the album.
|
String |
getThumbnailUrl()
Get the URL to the thumbnail cover image for the album.
|
String |
getTitle()
Get the title of the album.
|
void |
setDescription(String description)
Set the description of this album.
|
void |
setId(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(Integer mediaItemCount)
Set the number of items in the album.
|
void |
setMediaMimeType(List<String> mediaMimeType)
Set the identifying mime-types of the items in the album.
|
void |
setMediaType(List<MediaItem.Type> mediaType)
Set the list of media item types for the items in the album.
|
void |
setOwnerId(String ownerId)
Set the string ID of the owner of the album.
|
void |
setThumbnailUrl(String thumbnailUrl)
Set the URL of the thumbnail cover image for the album.
|
void |
setTitle(String title)
Set the title of the album.
|
String getDescription()
void setDescription(String description)
description - a string specifying the description of this album.String getId()
void setId(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.Integer getMediaItemCount()
void setMediaItemCount(Integer mediaItemCount)
mediaItemCount - an integer specifying the number of items in the album.List<String> getMediaMimeType()
void setMediaMimeType(List<String> mediaMimeType)
mediaMimeType - a List of strings specifying the mime-types of the items in the album.List<MediaItem.Type> getMediaType()
void setMediaType(List<MediaItem.Type> mediaType)
mediaType - List of MediaItem.Type specifying media item types for items in the album.String getOwnerId()
void setOwnerId(String ownerId)
ownerId - a string ID that identify the owner of the album.String getThumbnailUrl()
void setThumbnailUrl(String thumbnailUrl)
thumbnailUrl - a string specifying the URL for thumbnail cover image of the album.String getTitle()
void setTitle(String title)
title - a string specifying the title of the album.Copyright © 2007-2012. All Rights Reserved.