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