You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<preclass="prettyprint"><code>var UDID = 'D337E8A4-80AD-8ABA-9F5D-579EFF6BACAB';function gotContacts(err, contacts) { contacts.forEach( (contact) => { alert(contact); })}QB.addressbook.get(gotContacts);// or you could specify what address book you need by udidQB.addressbook.get(UDID, gotContacts);</code></pre>
The method is used to create, update and delete contacts in address book.<br/>
1000
-
If contact doesn't exist in address book then it will be created. If contacts exists then it will be updated.
1001
-
If pass 'destroy: 1' then the contact will be removed.<br/>
1002
-
<atarget="_blank" href="https://quickblox.com/developers/AddressBook">Found more here</a>. <br/>
1003
-
The method accepts 2 or 3 parameters.
986
+
The method is used to create, update and delete contacts in address book.<br/>If contact doesn't exist in address book then it will be created. If contacts exists then it will be updated.If pass 'destroy: 1' then the contact will be removed.<br/><atarget="_blank" href="https://quickblox.com/developers/AddressBook">Found more here</a>. <br/>The method accepts 2 or 3 parameters.
User's device identifier. If specified all operations will be in this context. Max length 64 symbols.
1132
-
If not - it means a user has one global address book across all his devices.</td>
1114
+
User's device identifier. If specified all operations will be in this context. Max length 64 symbols.If not - it means a user has one global address book across all his devices.</td>
<preclass="prettyprint"><code>var people = [{ 'name':'Frederic Cartwright', 'phone': '8879108395' }, { 'phone': '8759108396', 'destroy': 1 }]; var options = { force: 1, udid: 'A337E8A4-80AD-8ABA-9F5D-579EFF6BACAB' }; function addressBookSaved(err, response) { if(err) { } else { console.log('All constacts saved'); } } QB.addressbook.uploadAddressBook(addressBookList, savedAddressBookCallback); // or second parameters can be options QB.addressbook.uploadAddressBook(addressBookList, options, savedAddressBookCallback);</code></pre>
1271
1228
1272
1229
1273
1230
@@ -1290,7 +1247,7 @@ <h5>Example</h5>
1290
1247
1291
1248
1292
1249
<footer>
1293
-
Documentation generated by <atarget="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 09 2017 14:48:38 GMT+0200 (FLE Standard Time)
1250
+
Documentation generated by <atarget="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Jan 04 2018 16:37:51 GMT+0200 (FLE Standard Time)
Documentation generated by <atarget="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 09 2017 14:48:38 GMT+0200 (FLE Standard Time)
1268
+
Documentation generated by <atarget="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Jan 04 2018 16:37:51 GMT+0200 (FLE Standard Time)
0 commit comments