public interface UserData extends GphotoData
| Modifier and Type | Field and Description |
|---|---|
static String |
KIND
The unqualified kind for a user.
|
static Category |
USER_CATEGORY
A category object for users.
|
static String |
USER_KIND
The fully qualified kind term for users.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getMaxPhotos()
The number of photos a user can have in a single album.
|
String |
getNickname()
The nickname of the user.
|
Long |
getQuotaLimit()
The quota limit of the user.
|
Long |
getQuotaUsed()
The quota in bytes that the user has used.
|
String |
getThumbnail()
A url to the user's portrait.
|
String |
getUsername()
The username of the user.
|
void |
setMaxPhotos(Integer max)
Set the maximum number of photos the user is allowed.
|
void |
setNickname(String nickname)
Set the nickname of the user this data represents.
|
void |
setQuotaLimit(Long quota)
Set the quota limit for the user this data represents.
|
void |
setQuotaUsed(Long quota)
Set the used quota for the user.
|
void |
setThumbnail(String thumbnail)
Set the thumbnail for the user portrait.
|
void |
setUsername(String username)
Set the username for the user this data represents.
|
getGphotoId, setGphotoId, setGphotoIdaddExtension, addRepeatingExtension, declareExtensions, removeExtension, removeExtension, removeRepeatingExtension, setExtensionstatic final String KIND
static final String USER_KIND
static final Category USER_CATEGORY
String getUsername()
void setUsername(String username)
username - the username of the user.String getNickname()
void setNickname(String nickname)
nickname - the nickname of the user.String getThumbnail()
void setThumbnail(String thumbnail)
thumbnail - the url to the user portrait image.Long getQuotaUsed()
void setQuotaUsed(Long quota)
quota - the quota usage in bytes for this user.Long getQuotaLimit()
void setQuotaLimit(Long quota)
quota - the quota in bytes for the user.Integer getMaxPhotos()
void setMaxPhotos(Integer max)
max - the number of photos the user is allowed.Copyright © 2012. All Rights Reserved.