- From: <richard.tibbett@orange-ftgroup.com>
- Date: Mon, 21 Dec 2009 18:32:27 +0100
- To: <public-device-apis@w3.org>
Hi, Just documenting some thoughts on improving the Contacts.create(...) method [1] to allow for additional contact attributes to be specified at object creation. The method could be overloaded as follows: interface Contacts { Contact create (in DOMString name); Contact create (in ContactProperties options); // ... Other methods }; Or it could be extended with optional additional contact attributes as follows: interface Contacts { Contact create (in DOMString name, in optional ContactProperties options); // ... other methods }; Any feedback on the best approach, or whether the current simple create(...) method [1] is sufficient is welcome :-) Kind Regards, Richard [1] http://dev.w3.org/2009/dap/contacts/#widl-Contacts-create
Received on Monday, 21 December 2009 17:32:57 UTC