| com.google.gdata.data.photos.AlbumData |
Known Indirect Subclasses
|
Data interface for album feeds and entries. This allows a common interface between entries and feed that are about album kinds, making working with these data objects easier. An album may contain media in the form of the cover image for the album, as well as containing geographic information in the form of coordinates.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | ALBUM_KIND | The fully qualified king term for albums. | |||||||||
| String | KIND | The unqualified kind for an album. | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ALBUM_CATEGORY | A category object for albums. | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
The access level of the album, either private, protected, or public.
| |||||||||||
The number of bytes that are used by photos in this album.
| |||||||||||
The number of comments on the album.
| |||||||||||
Whether or not commenting is allowed on this album.
| |||||||||||
The date the album was taken.
| |||||||||||
The location of the album is a string representing where the photos in
the album where taken.
| |||||||||||
The name of the album is its canonicalized title.
| |||||||||||
The nickname of the user who owns the album.
| |||||||||||
The number of spaces for photos that are available in the album.
| |||||||||||
The number of photos that are contained in this album.
| |||||||||||
The username of the owner of the album.
| |||||||||||
Set the access for the album this data object represents.
| |||||||||||
Set the number of bytes used in the album this data object represents.
| |||||||||||
Set the number of comments on the album.
| |||||||||||
Set the whether comments are enabled in the album.
| |||||||||||
Set the date of the album.
| |||||||||||
Set the location string for where the photos in the album were taken.
| |||||||||||
Set the canonical name of the album.
| |||||||||||
Set the nickname for the owner of the album this data object represents.
| |||||||||||
Set the number of photos remaining that can be uploaded to this album.
| |||||||||||
Set the number of photos used on the album this data object represents.
| |||||||||||
Set the username for the owner of the album this data object represents.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.google.gdata.data.geo.BoxData
| |||||||||||
From interface
com.google.gdata.data.geo.PointData
| |||||||||||
From interface
com.google.gdata.data.photos.Extensible
| |||||||||||
From interface
com.google.gdata.data.photos.GphotoData
| |||||||||||
From interface
com.google.gdata.data.photos.MediaData
| |||||||||||
The fully qualified king term for albums.
The unqualified kind for an album.
A category object for albums. All album objects will have this set.
The access level of the album, either private, protected, or public. This may be null when the access level of the album is not known.
The number of bytes that are used by photos in this album. Useful to see how much space each album is taking up of the user's quota. This method is calculated by the server so it should be considered read-only by the client.
| ServiceException |
|---|
The number of comments on the album. This is calculated based on the comments stored on the server.
| ServiceException |
|---|
Whether or not commenting is allowed on this album. If set to true then comments may be added to the album, if set to false then no comments can be made on photos in this album.
| ServiceException |
|---|
The date the album was taken. Date ranges are not currently allowed. This is typically set to the date the earliest photo in the album was taken.
| ServiceException |
|---|
The location of the album is a string representing where the photos in the album where taken.
The name of the album is its canonicalized title. This is the name that can be used in urls to access the album by name rather than by id.
The nickname of the user who owns the album. This is provided to make it easier to display ownership information about albums. This is a read only field calculated by the server based on the owner of the album.
The number of spaces for photos that are available in the album. This should be treated as a read only field as it is calculated on the server. Once 0 photos are left no more photos can be uploaded to this album until photos have been deleted.
| ServiceException |
|---|
The number of photos that are contained in this album. This should be treated as a read only field, it is calculated on the server.
| ServiceException |
|---|
The username of the owner of the album. This username can be used to query for the gallery of the owner of the album, for example.
Set the access for the album this data object represents. Valid values are "private" or "public". Anything other than "public" will be set as "private", which is the default.
| access | The access level of the album. |
|---|
Set the number of bytes used in the album this data object represents. This method is used by the server, setting this on the client will have no effect.
| bytesUsed | The number of bytes used. |
|---|
Set the number of comments on the album. Used by the server, this has no effect on the client.
| commentCount | The number of comments on the album. |
|---|
Set the whether comments are enabled in the album. This will change the setting on the server if set by the owner of the album and updated.
| commentsEnabled | True if comments are enabled in the album. |
|---|
Set the date of the album. Dates that are too early will be truncated by the server, where too early currently means anything before 1970.
| date | The date the album represents. |
|---|
Set the location string for where the photos in the album were taken. This string may be geocoded by the server to provide coordinates based on the location.
| location | The location of the album. |
|---|
Set the canonical name of the album. This is used on the server.
If you wish to change the title of the album you should instead use
setTitle(com.google.gdata.data.TextConstruct).
| name | The canonical name of the album. |
|---|
Set the nickname for the owner of the album this data object represents. This is used by the server and has no effect on the client.
| nickname | The nickname of the owner. |
|---|
Set the number of photos remaining that can be uploaded to this album. This is used by the server, changing this value on the client will have no effect.
| photosLeft | The number of photos left. |
|---|
Set the number of photos used on the album this data object represents. This is used by the server, changing this value on the client will have no effect.
| photosUsed | The number of photos used. |
|---|
Set the username for the owner of the album this data object represents. This is used by the server, setting it on the client will have no effect. We currently do not support moving albums between users.
| username | The username of the owner. |
|---|