Package com.restfb.types
Klasse Photo
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.NamedFacebookType
com.restfb.types.Photo
- Alle implementierten Schnittstellen:
HasComments
,HasCreatedTime
,Serializable
Represents the Photo Graph API type.
- Seit:
- 1.5
- Autor:
- Mark Allen
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic class
Represents the Image Graph API type.static class
Represents the Tag Graph API type.Von Klasse geerbte verschachtelte Klassen/Schnittstellen com.restfb.types.FacebookType
FacebookType.Metadata
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
addImage
(Photo.Image image) boolean
addNameTag
(EntityAtTextRange nameTag) boolean
getAlbum()
The album this photo is inBack dated timeString that represents the back dated time granularityA boolean indicating if the viewer can delete the photoA boolean indicating if the viewer can tag the photoAll of the comments on this photo.The time the photo was initially published.getEvent()
If this object has a place, the event associated with the placegetFrom()
An object containing the name and ID of the user who posted the photo.The height of the photo, in pixels.getIcon()
The icon-sized source of the photo.The 4 different stored representations of the photo.getLikes()
getLink()
A link to the photo on Facebook.ID of the page story this corresponds to.The album-sized view of the photo.getPlace()
The location associated with this photo, if any.Veraltet.Facebook will start returning 0 for this field starting on October 3, 2012.The reactions for this photo.Veraltet.Useimages
field insteadgetTags()
An array containing the users and their positions in this photo.The last time the photo or its caption was updated.getWidth()
The width of the photo, in pixels.protected void
jsonMappingCompleted
(JsonMapper jsonMapper) Post-JSON-mapping operation that populates themessageTags
field "by hand".boolean
removeImage
(Photo.Image image) boolean
removeNameTag
(EntityAtTextRange nameTag) boolean
void
The album this photo is invoid
setBackdatedTime
(Date backdatedTime) Back dated timevoid
setBackdatedTimeGranularity
(String backdatedTimeGranularity) String that represents the back dated time granularityvoid
setCanDelete
(Boolean canDelete) A boolean indicating if the viewer can delete the photovoid
A boolean indicating if the viewer can tag the photovoid
setComments
(Comments comments) All of the comments on this photo.void
setCreatedTime
(Date createdTime) The time the photo was initially published.void
If this object has a place, the event associated with the placevoid
An object containing the name and ID of the user who posted the photo.void
The height of the photo, in pixels.void
The icon-sized source of the photo.void
void
A link to the photo on Facebook.void
setPageStoryId
(String pageStoryId) ID of the page story this corresponds to.void
setPicture
(String picture) The album-sized view of the photo.void
The location associated with this photo, if any.void
setPosition
(Integer position) Veraltet.Facebook will start returning 0 for this field starting on October 3, 2012.void
setReactions
(Reactions reactions) The reactions for this photo.void
Veraltet.Useimages
field insteadvoid
setUpdatedTime
(Date updatedTime) The last time the photo or its caption was updated.void
The width of the photo, in pixels.Von Klasse geerbte Methoden com.restfb.types.NamedFacebookType
getName, setName
Von Klasse geerbte Methoden com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
Von Klasse geerbte Methoden com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Konstruktordetails
-
Photo
public Photo()
-
-
Methodendetails
-
getTags
An array containing the users and their positions in this photo. The x and y coordinates are percentages from the left and top edges of the photo, respectively.- Gibt zurück:
- An array containing the users and their positions in this photo. The x and y coordinates are percentages from the left and top edges of the photo, respectively.
-
addTag
-
removeTag
-
getNameTags
-
addNameTag
-
removeNameTag
-
getImages
The 4 different stored representations of the photo.- Gibt zurück:
- The 4 different stored representations of the photo.
- Seit:
- 1.6.5
-
addImage
-
removeImage
-
jsonMappingCompleted
Post-JSON-mapping operation that populates themessageTags
field "by hand".- Parameter:
jsonMapper
- TheJsonMapper
that was used to map to this type.
-
getFrom
An object containing the name and ID of the user who posted the photo.- Gibt zurück:
- An object containing the name and ID of the user who posted the photo.
-
setFrom
An object containing the name and ID of the user who posted the photo. -
getPicture
The album-sized view of the photo.- Gibt zurück:
- The album-sized view of the photo.
-
setPicture
The album-sized view of the photo. -
getPageStoryId
ID of the page story this corresponds to. May not be on all photos. Applies only to published photos- Gibt zurück:
- ID of the page story this corresponds to.
-
setPageStoryId
ID of the page story this corresponds to. May not be on all photos. Applies only to published photos -
getReactions
The reactions for this photo.- Gibt zurück:
- The reactions for this photo.
-
setReactions
The reactions for this photo. -
getSource
Veraltet.Useimages
field insteadThe full-sized source of the photo.- Gibt zurück:
- The full-sized source of the photo.
-
setSource
Veraltet.Useimages
field insteadThe full-sized source of the photo. -
getHeight
The height of the photo, in pixels.- Gibt zurück:
- The height of the photo, in pixels.
-
setHeight
The height of the photo, in pixels. -
getWidth
The width of the photo, in pixels.- Gibt zurück:
- The width of the photo, in pixels.
-
setWidth
The width of the photo, in pixels. -
getLink
A link to the photo on Facebook.- Gibt zurück:
- A link to the photo on Facebook.
-
setLink
A link to the photo on Facebook. -
getIcon
The icon-sized source of the photo.- Gibt zurück:
- The icon-sized source of the photo.
-
setIcon
The icon-sized source of the photo. -
getAlbum
The album this photo is in- Gibt zurück:
- The album this photo is in
-
setAlbum
The album this photo is in -
getCanDelete
A boolean indicating if the viewer can delete the photo- Gibt zurück:
- A boolean indicating if the viewer can delete the photo
-
setCanDelete
A boolean indicating if the viewer can delete the photo -
getCanTag
A boolean indicating if the viewer can tag the photo- Gibt zurück:
- A boolean indicating if the viewer can tag the photo
-
setCanTag
A boolean indicating if the viewer can tag the photo -
getPosition
Veraltet.Facebook will start returning 0 for this field starting on October 3, 2012.The position of this photo in the album.- Gibt zurück:
- The position of this photo in the album.
- Seit:
- 1.6.5
-
setPosition
Veraltet.Facebook will start returning 0 for this field starting on October 3, 2012.The position of this photo in the album.- Seit:
- 1.6.5
-
getEvent
If this object has a place, the event associated with the place- Gibt zurück:
- If this object has a place, the event associated with the place
-
setEvent
If this object has a place, the event associated with the place -
getUpdatedTime
The last time the photo or its caption was updated.- Gibt zurück:
- The last time the photo or its caption was updated.
-
setUpdatedTime
The last time the photo or its caption was updated. -
getCreatedTime
The time the photo was initially published.- Angegeben von:
getCreatedTime
in SchnittstelleHasCreatedTime
- Gibt zurück:
- The time the photo was initially published.
-
setCreatedTime
The time the photo was initially published. -
getComments
All of the comments on this photo.- Angegeben von:
getComments
in SchnittstelleHasComments
- Gibt zurück:
- All of the comments on this photo.
- Seit:
- 1.6.5
-
setComments
All of the comments on this photo.- Seit:
- 1.6.5
-
getLikes
-
setLikes
-
getPlace
The location associated with this photo, if any.- Gibt zurück:
- The place this photo was taken.
- Seit:
- 1.6.10
-
setPlace
The location associated with this photo, if any.- Seit:
- 1.6.10
-
getBackdatedTime
Back dated time- Gibt zurück:
- the back dated time
- Seit:
- 1.6.15
-
setBackdatedTime
Back dated time- Seit:
- 1.6.15
-
getBackdatedTimeGranularity
String that represents the back dated time granularity- Gibt zurück:
- the back dated time granularity
- Seit:
- 1.6.15
-
setBackdatedTimeGranularity
String that represents the back dated time granularity- Seit:
- 1.6.15
-