From 7c66eb3fc68d5cdc71d9858e7b289fa68c583aa9 Mon Sep 17 00:00:00 2001
From: Adam Szczerbiak Code example: Code example: Code example:
+
usage type refers to contacts_usage_type_e of native API
- var addressbook;
// Gets the address book.
- var addressbook = tizen.contact.getDefaultAddressBook();
+ var addressbook = tizen.contact.getDefaultAddressBook();
try {
groups = addressbook.getGroups();
@@ -3285,17 +3285,17 @@ to an unknown error.
var addressbook;
+
var addressbook;
- // Gets the default address book.
- var addressbook = tizen.contact.getDefaultAddressBook();
+ // Gets the default address book.
+ var addressbook = tizen.contact.getDefaultAddressBook();
- try {
- groups = addressbook.getGroups();
- console.log('Number of groups is ' + groups.length);
- } catch (err) {
- console.log( 'The following error occurred while finding: ' + err.name);
- }
+ try {
+ groups = addressbook.getGroups();
+ console.log('Number of groups is ' + groups.length);
+ } catch (err) {
+ console.log( 'The following error occurred while finding: ' + err.name);
+ }
-Since: -3.0 + Since: + 3.0
@@ -4074,23 +4074,22 @@ By default, this attribute is set to an empty array.+
By default, this attribute is set to an empty array. -
--Since: -3.0 -
+ Since: + 3.0 +Code example:
-var contactInit = {}; - var extension = new tizen.ContactExtension({ data1: 20, data2: 'Place of birth: ElblÄ g' }); - contactInit.extensions = [extension]; +Code example:
var contactInit = {}; + var extension = new tizen.ContactExtension({ data1: 20, data2: 'Place of birth: ElblÄ g' }); + contactInit.extensions = [extension];
dictionary ContactExtensionInit + The ContactExtensionInit dictionary defines the properties of a ContactExtension to pass to the ContactExtension constructor. +
dictionary ContactExtensionInit { long data1; DOMString data2; @@ -5842,21 +5841,21 @@ The ContactExtensionInit dictionary defines the properties of a ContactExtension DOMString data12; };
-Since: -3.0 -
+ Since: + 3.0 ++
See ContactExtension interface for more information about the members. -
-[Constructor(optional ContactExtensionInit? extensionInitDict)] + The ContactExtension interface contains the extended data of the contact. +
[Constructor(optional ContactExtensionInit? extensionInitDict)] interface ContactExtension { attribute long data1; @@ -5884,14 +5883,14 @@ The ContactExtension interface contains the extended data of the contact. attribute DOMString? data12; };
-Since: -3.0 -
+ Since: + 3.0 ++
See code example below. -
-Code example:
var name = new tizen.ContactName({ firstName: 'Anna' }); @@ -5914,111 +5913,111 @@ See code example below.
-Since: -3.0 -
+ Since: + 3.0 +-Since: -3.0 -
+ Since: + 3.0 +-Since: -3.0 -
+ Since: + 3.0 +-Since: -3.0 -
+ Since: + 3.0 +-Since: -3.0 -
+ Since: + 3.0 +-Since: -3.0 -
+ Since: + 3.0 +-Since: -3.0 -
+ Since: + 3.0 +-Since: -3.0 -
+ Since: + 3.0 +-Since: -3.0 -
+ Since: + 3.0 +-Since: -3.0 -
+ Since: + 3.0 +-Since: -3.0 -
+ Since: + 3.0 +-Since: -3.0 -
+ Since: + 3.0 +