public class ContactsInterface
extends java.lang.Object
| Constructor and Description |
|---|
ContactsInterface(java.lang.String apiKey,
java.lang.String sharedSecret,
Transport transportAPI) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Contact> |
getList()
Get the collection of contacts for the calling user.
|
java.util.Collection<Contact> |
getListRecentlyUploaded(java.util.Date lastUpload,
java.lang.String filter)
Return a list of contacts for a user who have recently uploaded photos along with the total count of photos uploaded.
|
java.util.Collection<Contact> |
getPublicList(java.lang.String userId)
Get the collection of public contacts for the specified user ID.
|
public ContactsInterface(java.lang.String apiKey,
java.lang.String sharedSecret,
Transport transportAPI)
public java.util.Collection<Contact> getList() throws FlickrException
FlickrExceptionpublic java.util.Collection<Contact> getListRecentlyUploaded(java.util.Date lastUpload, java.lang.String filter) throws FlickrException
lastUpload - Limits the resultset to contacts that have uploaded photos since this date. The date should be in the form of a Unix timestamp. The default,
and maximum, offset is (1) hour. (Optional, can be null)filter - Limit the result set to all contacts or only those who are friends or family.FlickrExceptionpublic java.util.Collection<Contact> getPublicList(java.lang.String userId) throws FlickrException
userId - The user IDFlickrException