public interface PhotoData extends GphotoData, PointData, BoxData, MediaData
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KIND
The unqualified kind for a photo.
|
static Category |
PHOTO_CATEGORY
A category object for photos.
|
static java.lang.String |
PHOTO_KIND
The fully qualified kind term for photos.
|
Modifier and Type | Method and Description |
---|---|
void |
addStreamId(java.lang.String streamId)
Add an individual streamId to the photo.
|
java.lang.String |
getAlbumAccess() |
java.lang.String |
getAlbumId()
The id of the album the photo is on.
|
java.lang.String |
getChecksum()
The checksum on the photo.
|
java.lang.String |
getClient()
The client string stored on the photo.
|
java.lang.Integer |
getCommentCount()
The number of comments on this photo.
|
java.lang.Boolean |
getCommentsEnabled()
Gets the status of the commenting preference on the photo.
|
ExifTags |
getExifTags()
The exif information on the photo.
|
java.util.Date |
getFeaturedDate() |
java.lang.Long |
getHeight()
The height of the photo in pixels.
|
java.lang.Float |
getPosition()
The position of the photo in the album.
|
java.lang.Integer |
getRotation()
The rotation of the photo.
|
java.lang.Long |
getSize()
The size of the photo in bytes.
|
java.util.List<java.lang.String> |
getStreamIds()
Stream ids can be used to specify additional information about where a
photo came from, or where it is being used.
|
java.util.Date |
getTimestamp()
The time the photo was taken.
|
java.lang.Integer |
getTotalStars()
The number of users who starred this photo.
|
java.lang.Long |
getVersion()
The version of the image.
|
java.lang.String |
getVideoStatus()
The video status in case the photo entry is a video.
|
java.lang.Long |
getViewCount() |
java.lang.Long |
getWidth()
The width of the photo in pixels.
|
java.lang.Boolean |
isStarred()
If this photo is starred by current user.
|
void |
setAlbumAccess(java.lang.String access)
Set the access for the album that contains this photo.
|
void |
setAlbumId(java.lang.Long albumId)
Sets the id of the album the photo is in.
|
void |
setAlbumId(java.lang.String albumId)
Set the albumId of the photo as a string, the album the photo is in.
|
void |
setChecksum(java.lang.String checksum)
Set the checksum of the photo.
|
void |
setClient(java.lang.String client)
Set the client string on the photo.
|
void |
setCommentCount(java.lang.Integer commentCount)
Set the number of comments on the photo.
|
void |
setCommentsEnabled(java.lang.Boolean commentsEnabled)
Sets whether comments can be made on the photo.
|
void |
setExifTags(ExifTags tags)
Sets the exif tags for the photo.
|
void |
setFeaturedDate(java.util.Date featuredDate)
Sets the date that the photo was featured.
|
void |
setHeight(java.lang.Long height)
Set the height of the photo.
|
void |
setPosition(java.lang.Float position)
Set the position of the photo.
|
void |
setRotation(java.lang.Integer rotation)
Set the rotation in degrees of the photo.
|
void |
setSize(java.lang.Long size)
Set the size of the photo.
|
void |
setStarred(java.lang.Boolean starred)
Sets if this photo is starred by current user.
|
void |
setTimestamp(java.util.Date timestamp)
Set the timestamp on the photo.
|
void |
setTotalStars(java.lang.Integer totalStars)
Sets the number of users who starred this photo.
|
void |
setVersion(java.lang.Long version)
Set the version of the photo.
|
void |
setVideoStatus(java.lang.String videoStatus)
Set the video status of the photo entry.
|
void |
setViewCount(java.lang.Long viewCount)
Sets the view count for this photo.
|
void |
setWidth(java.lang.Long width)
Set the width of the photo.
|
getGphotoId, setGphotoId, setGphotoId
clearPoint, getGeoLocation, setGeoLocation, setGeoLocation
clearGeoBoundingBox, getGeoBoundingBox, setGeoBoundingBox, setGeoBoundingBox
getMediaCategories, getMediaContents, getMediaCredits, getMediaGroup, getMediaKeywords, getMediaThumbnails, setKeywords
addExtension, addRepeatingExtension, declareExtensions, removeExtension, removeExtension, removeRepeatingExtension, setExtension
static final java.lang.String KIND
static final java.lang.String PHOTO_KIND
static final Category PHOTO_CATEGORY
java.lang.Long getVersion() throws ServiceException
ServiceException
void setVersion(java.lang.Long version)
version
- the version of the photo.java.lang.Float getPosition() throws ServiceException
ServiceException
void setPosition(java.lang.Float position)
position
- the position of the photo in the album.java.lang.String getAlbumId()
java.lang.String getAlbumAccess()
void setAlbumAccess(java.lang.String access)
access
- the access of the album.void setAlbumId(java.lang.String albumId)
void setAlbumId(java.lang.Long albumId)
java.lang.String getVideoStatus()
void setVideoStatus(java.lang.String videoStatus)
java.lang.Long getWidth() throws ServiceException
ServiceException
void setWidth(java.lang.Long width)
width
- the width of the photo.java.lang.Long getHeight() throws ServiceException
ServiceException
void setHeight(java.lang.Long height)
height
- the height of the photo.java.lang.Integer getRotation() throws ServiceException
ServiceException
void setRotation(java.lang.Integer rotation)
rotation
- the rotation of the photo.java.lang.Long getSize() throws ServiceException
ServiceException
void setSize(java.lang.Long size)
size
- the size of the photo in bytes.java.lang.String getClient()
void setClient(java.lang.String client)
client
- the client that created the photo.java.lang.String getChecksum()
void setChecksum(java.lang.String checksum)
checksum
- the checksum on the photo, computed by a client.java.util.Date getTimestamp() throws ServiceException
ServiceException
void setTimestamp(java.util.Date timestamp)
timestamp
- the timestamp on the photo.ExifTags getExifTags()
ExifTags
for more information on available exif fields.void setExifTags(ExifTags tags)
tags
- the exif tags for the photo, a collection of exif tags.java.lang.Boolean getCommentsEnabled() throws ServiceException
ServiceException
void setCommentsEnabled(java.lang.Boolean commentsEnabled)
commentsEnabled
- true if comments are enabled in the photo.java.lang.Integer getCommentCount() throws ServiceException
ServiceException
void setCommentCount(java.lang.Integer commentCount)
commentCount
- the number of comments on the photo.java.lang.Long getViewCount()
void setViewCount(java.lang.Long viewCount)
viewCount
- the number of views for this photo.java.util.Date getFeaturedDate()
void setFeaturedDate(java.util.Date featuredDate)
featuredDate
- the date that the photo was featured.java.util.List<java.lang.String> getStreamIds()
void addStreamId(java.lang.String streamId)
java.lang.Boolean isStarred()
void setStarred(java.lang.Boolean starred)
starred
- If this photo is starred by current user.java.lang.Integer getTotalStars()
void setTotalStars(java.lang.Integer totalStars)
totalStars
- the number of users who starred this photo.