org.springframework.social.facebook.api
Class CoverPhoto
java.lang.Object
org.springframework.social.facebook.api.CoverPhoto
public class CoverPhoto
- extends java.lang.Object
Model class representing a user's or a page's cover photo.
- Author:
- Craig Walls
Constructor Summary |
CoverPhoto(java.lang.String id,
java.lang.String source,
int offsetX,
int offsetY)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoverPhoto
public CoverPhoto(java.lang.String id,
java.lang.String source,
int offsetX,
int offsetY)
getId
public java.lang.String getId()
- Returns:
- The ID of the cover photo's Photo object.
getSource
public java.lang.String getSource()
- Returns:
- A link to the cover photo's image.
getOffsetX
public int getOffsetX()
- Returns:
- The percentage of offset from left (0-100).
getOffsetY
public int getOffsetY()
- Returns:
- The percentage of offset from top (0-100).