|
GData JavaScript Client 1.10 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--google.gdata.client.Service | +--google.gdata.client.GoogleService | +--google.gdata.contacts.ContactsService
Google Contacts service.
Defined in gdata.js
Field Summary | |
<static> <final> {string} |
SERVICE_NAME
Google Contacts service name. |
Fields inherited from class google.gdata.client.Service |
serviceName, applicationName
|
Constructor Summary | |
google.gdata.contacts.ContactsService(<string> applicationName)
Constructor. |
Method Summary | |
google.gdata.contacts.ContactEntry
|
getContactEntry(<string> uri, <function(Object)> continuation, <function(Error)|undefined> opt_errorHandler)
Retrieves a contact entry. |
google.gdata.contacts.ContactFeed
|
getContactFeed(<string|google.gdata.contacts.ContactQuery> uriOrQuery, <function(Object)> continuation, <function(Error)|undefined> opt_errorHandler)
Retrieves the feed of contacts. |
google.gdata.contacts.ContactGroupEntry
|
getContactGroupEntry(<string> uri, <function(Object)> continuation, <function(Error)|undefined> opt_errorHandler)
Retrieves a contact group entry. |
google.gdata.contacts.ContactGroupFeed
|
getContactGroupFeed(<string|google.gdata.contacts.ContactQuery> uriOrQuery, <function(Object)> continuation, <function(Error)|undefined> opt_errorHandler)
Retrieves the feed of contact groups. |
Methods inherited from class google.gdata.client.GoogleService |
getUserCredentials, setUserCredentials, setGadgetsAuthentication, useOAuth
|
Methods inherited from class google.gdata.client.Service |
setDeveloperKey, supportsAlt, setAltSupport, isXd2Supported, setXd2Supported, getFeed, getEntry, insertEntry, updateEntry, deleteEntry, setHeaders
|
Field Detail |
<static> <final> {string} SERVICE_NAME
Constructor Detail |
google.gdata.contacts.ContactsService(<string> applicationName)
applicationName
- Name of application (used for tracking?).
Method Detail |
google.gdata.contacts.ContactEntry getContactEntry(<string> uri, <function(Object)> continuation, <function(Error)|undefined> opt_errorHandler)
uri
- URI of entry.
continuation
- Function to call with entry retrieved. For example: function(entryRoot) {
var entry = entryRoot.entry;
};
.
opt_errorHandler
- Function to handle error if any. For example: // error: an instance of Error
function(error) {
alert(error);
};
.
google.gdata.contacts.ContactFeed getContactFeed(<string|google.gdata.contacts.ContactQuery> uriOrQuery, <function(Object)> continuation, <function(Error)|undefined> opt_errorHandler)
uriOrQuery
- URI of feed or query.
continuation
- Function to call with feed retrieved. For example: function(feedRoot) {
var feed = feedRoot.feed;
var entries = feed.entry;
};
.
opt_errorHandler
- Function to handle error if any. For example: // error: an instance of Error
function(error) {
alert(error);
};
.
google.gdata.contacts.ContactGroupEntry getContactGroupEntry(<string> uri, <function(Object)> continuation, <function(Error)|undefined> opt_errorHandler)
uri
- URI of entry.
continuation
- Function to call with entry retrieved. For example: function(entryRoot) {
var entry = entryRoot.entry;
};
.
opt_errorHandler
- Function to handle error if any. For example: // error: an instance of Error
function(error) {
alert(error);
};
.
google.gdata.contacts.ContactGroupFeed getContactGroupFeed(<string|google.gdata.contacts.ContactQuery> uriOrQuery, <function(Object)> continuation, <function(Error)|undefined> opt_errorHandler)
uriOrQuery
- URI of feed or query.
continuation
- Function to call with feed retrieved. For example: function(feedRoot) {
var feed = feedRoot.feed;
var entries = feed.entry;
};
.
opt_errorHandler
- Function to handle error if any. For example: // error: an instance of Error
function(error) {
alert(error);
};
.
|
GData JavaScript Client 1.10 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |