Labs/Contacts/ContentAPI: Difference between revisions

Jump to navigation Jump to search
Line 83: Line 83:
** <tt>getPhotos(callback)</tt>: a function that, when invoked, returns an array of photo objects through the callback (see below)
** <tt>getPhotos(callback)</tt>: a function that, when invoked, returns an array of photo objects through the callback (see below)


* <tt>picturesOf(callback)</tt> produces a list of pictures by invoking a callback repeatedly with an array of pictures.  The fields of each picture are:
* <tt>picturesOf(callback)</tt> produces a list of pictures by invoking a callback repeatedly with an array of pictures.  The fields of each photo object are:
** <tt>name</tt>: optional; a filename or label for the picture
** <tt>name</tt>: optional; a filename or label for the picture
** <tt>homeURL</tt>: the URL of a page containing more detail about a picture
** <tt>homeURL</tt>: the URL of a page containing more detail about a picture
11

edits

Navigation menu