canmove, Confirmed users
2,775
edits
(update / cleanup header a bit) |
(heading tweaks) |
||
Line 1: | Line 1: | ||
<div class="h-entry"> | <div class="h-entry"> | ||
= <span class="p-name">Contacts API specification</span> = | = <span class="p-name">Contacts API specification</span> = | ||
<span class="p-author h-card">[[User:Tantek|Tantek Çelik]]</span> (IRC: tantek | <span class="p-author h-card">[[User:Tantek|Tantek Çelik]]</span> (Editor/Author, IRC: tantek), <span class="p-author h-card">[[User:Anygregor|Gregor Wagner]]</span> (Author, IRC: gwagner) | ||
---- | ---- | ||
;This version: | ;This version: | ||
:https://wiki.mozilla.org/ContactsAPI | :https://wiki.mozilla.org/ContactsAPI | ||
Line 13: | Line 11: | ||
;Discussion: | ;Discussion: | ||
:irc://irc.mozilla.org/webapi | :irc://irc.mozilla.org/webapi | ||
==Summary== | |||
<p class="p-summary">The ContactsAPI provides read/write DOM API access to a device address book, and the contacts contained therein with a simple minimal API based on both device address book interfaces and commonly published web contact information ([[vCard4]] & [[hCard]]).</p> | |||
</div> | |||
__TOC__ | __TOC__ | ||
Line 25: | Line 27: | ||
request.onerror = function() {alert("error")}; | request.onerror = function() {alert("error")}; | ||
== | == API == | ||
There is an object in window.navigator named ''mozContacts'' with the following interface: | There is an object in window.navigator named ''mozContacts'' with the following interface: | ||
interface ContactsManager | interface ContactsManager |