Spring Social Facebook

org.springframework.social.facebook.api
Class CoverPhoto

java.lang.Object
  extended by 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)
           
 
Method Summary
 java.lang.String getId()
           
 int getOffsetX()
           
 int getOffsetY()
           
 java.lang.String getSource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoverPhoto

public CoverPhoto(java.lang.String id,
                  java.lang.String source,
                  int offsetX,
                  int offsetY)
Method Detail

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).

Spring Social Facebook