| com.google.gdata.data.photos.PhotoData |
Known Indirect Subclasses
|
Base data object for photo feeds and entries, this interface contains the methods that all photo objects must provide. Note that some information may not be available based on the source of the photo data.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | KIND | The unqualified kind for a photo. | |||||||||
| String | PHOTO_KIND | The fully qualified kind term for photos. | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PHOTO_CATEGORY | A category object for photos. | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add an individual streamId to the photo.
| |||||||||||
The id of the album the photo is on.
| |||||||||||
The checksum on the photo.
| |||||||||||
The client string stored on the photo.
| |||||||||||
The number of comments on this photo.
| |||||||||||
Gets the status of the commenting preference on the photo.
| |||||||||||
The exif information on the photo.
| |||||||||||
The height of the photo in pixels.
| |||||||||||
The position of the photo in the album.
| |||||||||||
The rotation of the photo.
| |||||||||||
The size of the photo in bytes.
| |||||||||||
Stream ids can be used to specify additional information about where a
photo came from, or where it is being used.
| |||||||||||
The time the photo was taken.
| |||||||||||
The number of users who starred this photo.
| |||||||||||
The version of the image.
| |||||||||||
The video status in case the photo entry is a video.
| |||||||||||
The width of the photo in pixels.
| |||||||||||
If this photo is starred by current user.
| |||||||||||
Set the access for the album that contains this photo.
| |||||||||||
Set the albumId of the photo as a string, the album the photo is in.
| |||||||||||
Sets the id of the album the photo is in.
| |||||||||||
Set the checksum of the photo.
| |||||||||||
Set the client string on the photo.
| |||||||||||
Set the number of comments on the photo.
| |||||||||||
Sets whether comments can be made on the photo.
| |||||||||||
Sets the exif tags for the photo.
| |||||||||||
Sets the date that the photo was featured.
| |||||||||||
Set the height of the photo.
| |||||||||||
Set the position of the photo.
| |||||||||||
Set the rotation in degrees of the photo.
| |||||||||||
Set the size of the photo.
| |||||||||||
Sets if this photo is starred by current user.
| |||||||||||
Set the timestamp on the photo.
| |||||||||||
Sets the number of users who starred this photo.
| |||||||||||
Set the version of the photo.
| |||||||||||
Set the video status of the photo entry.
| |||||||||||
Sets the view count for this photo.
| |||||||||||
Set the width of the photo.
| |||||||||||
|
[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 unqualified kind for a photo.
The fully qualified kind term for photos.
A category object for photos. All photo objects will have this set.
Add an individual streamId to the photo. The streamid is an opaque string stored along with the photo and can be used to identify where a photo is from or used.
| streamId |
|---|
The id of the album the photo is on.
The checksum on the photo. This is another piece of client-provided information that will be stored on the server and returned to the client.
The client string stored on the photo. Clients can use this to provide additional information about the photo that they can use later.
The number of comments on this photo.
| ServiceException |
|---|
Gets the status of the commenting preference on the photo. If comments are not enabled on the photo no comments may be sent.
| ServiceException |
|---|
The exif information on the photo. See the documentation for
ExifTags for more information on available exif fields.
The height of the photo in pixels. This is the height of the original image stored in the database, but not necessarily the height of the image returned by querying the image url (depending on image size).
| ServiceException |
|---|
The position of the photo in the album. This can be used to order the photo based on where the user has placed it within the album.
| ServiceException |
|---|
The rotation of the photo. This is only useful when downloading the original photo as the rotation is taken into account on thumbnails and the image is always provided in the right orientation.
| ServiceException |
|---|
The size of the photo in bytes. Read only, calculated by the server.
| ServiceException |
|---|
Stream ids can be used to specify additional information about where a photo came from, or where it is being used. For example, a client may mark each photo they edit with a streamid so that the list of edited photos can be queried efficiently.
The time the photo was taken. Modifiable by the client.
| ServiceException |
|---|
The number of users who starred this photo.
The version of the image. This is the version of the image itself, and is changed whenever the image content is changed (such as by rotation).
| ServiceException |
|---|
The video status in case the photo entry is a video.
The width of the photo in pixels. This is the width of the original image stored in the database, but not necessarily the width of the image returned by querying the image url (depending on image size).
| ServiceException |
|---|
If this photo is starred by current user.
Set the access for the album that contains this photo.
| access | The access of the album. |
|---|
Set the albumId of the photo as a string, the album the photo is in.
| albumId |
|---|
Sets the id of the album the photo is in. If the albumid is changed the photo will be moved to the new album (as long as the provided albumid is valid). Set the albumId of the photo as a long, the album the photo is in.
| albumId |
|---|
Set the checksum of the photo. Returned by the server, this is an opaque string and will not be used by the server.
| checksum | The checksum on the photo, computed by a client. |
|---|
Set the client string on the photo.
| client | The client that created the photo. |
|---|
Set the number of comments on the photo. Used by the server, this field is calculated and cannot be modified by the client.
| commentCount | The number of comments on the photo. |
|---|
Sets whether comments can be made on the photo. The client can change whether comments are allowed as long as they are authenticated as the owner of the photo.
| commentsEnabled | True if comments are enabled in the photo. |
|---|
Sets the exif tags for the photo. This will override existing exif data that was calculated when the photo was first uploaded.
| tags | The exif tags for the photo, a collection of exif tags. |
|---|
Sets the date that the photo was featured.
| featuredDate | The date that the photo was featured. |
|---|
Set the height of the photo. Used by the server, this has no effect on the client.
| height | The height of the photo. |
|---|
Set the position of the photo. This is the photo's position in the album it is in. This can be changed to place a photo between two other photos by choosing a position between the other two positions. Note that the server may change the positions to provide more space between photos if the limits of floating point rounding would cause errors, so the most recent position should be used before modifying a photo. Optimistic concurrency will catch this, however.
| position | The position of the photo in the album. |
|---|
Set the rotation in degrees of the photo. This can be used to rotate the photo on the server.
| rotation | The rotation of the photo. |
|---|
Set the size of the photo. This is used on the server, setting this on the client will have no effect.
| size | The size of the photo in bytes. |
|---|
Sets if this photo is starred by current user.
| starred | If this photo is starred by current user. |
|---|
Set the timestamp on the photo. This is the time the photo itself was taken.
| timestamp | The timestamp on the photo. |
|---|
Sets the number of users who starred this photo.
| totalStars | The number of users who starred this photo. |
|---|
Set the version of the photo. Used by the server to set the version, this is read only on the client.
| version | The version of the photo. |
|---|
Set the video status of the photo entry.
| videoStatus |
|---|
Sets the view count for this photo.
| viewCount | The number of views for this photo. |
|---|
Set the width of the photo. Used by the server, this has no effect on the client.
| width | The width of the photo. |
|---|