Packagecom.adobe.webapis.flickr.methodgroups
Classpublic class Contacts

Contains the methods for the Contacts method group in the Flickr API. Even though the events are listed here, they're really broadcast from the FlickrService instance itself to make using the service easier.



Public Methods
 MethodDefined by
  
Construct a new Contacts "method group" class
Contacts
  
getList():void
Get a list of contacts for the calling user.
Contacts
  
getPublicList(user_id:String):void
Get the contact list for a user.
Contacts
Events
 EventSummaryDefined by
   Broadcast as a result of the getList method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains a "contacts" array of User instances When success is false, contains an "error" FlickrError instance Contacts
   Broadcast as a result of the getPublicList method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains a "contacts" array of User instances When success is false, contains an "error" FlickrError instance Contacts
Constructor detail
Contacts()constructor
public function Contacts(service:FlickrService)

Construct a new Contacts "method group" class

Parameters
service:FlickrService — The FlickrService this method group is associated with.
Method detail
getList()method
public function getList():void

Get a list of contacts for the calling user. This method requires authentication with READ permission.

See also

getPublicList()method 
public function getPublicList(user_id:String):void

Get the contact list for a user.

Parameters
user_id:String — The NSID of the user to fetch the contact list for

See also

Event detail
contactsGetListevent 
Event object type: com.adobe.webapis.flickr.events.FlickrResultEvent

Broadcast as a result of the getList method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains a "contacts" array of User instances When success is false, contains an "error" FlickrError instance

See also

getList
com.adobe.service.flickr.FlickrError
contactsGetPublicListevent  
Event object type: com.adobe.webapis.flickr.events.FlickrResultEvent

Broadcast as a result of the getPublicList method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains a "contacts" array of User instances When success is false, contains an "error" FlickrError instance

See also

getPublicList
com.adobe.service.flickr.FlickrError