summaryrefslogtreecommitdiffstats
path: root/core/java/android/provider/Contacts.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/provider/Contacts.java')
-rw-r--r--core/java/android/provider/Contacts.java30
1 files changed, 22 insertions, 8 deletions
diff --git a/core/java/android/provider/Contacts.java b/core/java/android/provider/Contacts.java
index 6d24ba8..085c095 100644
--- a/core/java/android/provider/Contacts.java
+++ b/core/java/android/provider/Contacts.java
@@ -170,12 +170,20 @@ public class Contacts {
*/
public interface PeopleColumns {
/**
- * The persons name.
+ * The person's name.
* <P>Type: TEXT</P>
*/
public static final String NAME = "name";
/**
+ * Phonetic equivalent of the person's name, in a locale-dependent
+ * character set (e.g. hiragana for Japanese).
+ * Used for pronunciation and/or collation in some languages.
+ * <p>Type: TEXT</P>
+ */
+ public static final String PHONETIC_NAME = "phonetic_name";
+
+ /**
* The display name. If name is not null name, else if number is not null number,
* else if email is not null email.
* <P>Type: TEXT</P>
@@ -1509,6 +1517,12 @@ public class Contacts {
public static final String NAME = "name";
/**
+ * The extra field for the contact phonetic name.
+ * <P>Type: String</P>
+ */
+ public static final String PHONETIC_NAME = "phonetic_name";
+
+ /**
* The extra field for the contact company.
* <P>Type: String</P>
*/
@@ -1535,7 +1549,7 @@ public class Contacts {
/**
* The extra field for the contact phone number type.
* <P>Type: Either an integer value from {@link android.provider.Contacts.PhonesColumns PhonesColumns},
- * or a string specifying a type and label.</P>
+ * or a string specifying a custom label.</P>
*/
public static final String PHONE_TYPE = "phone_type";
@@ -1554,7 +1568,7 @@ public class Contacts {
/**
* The extra field for an optional second contact phone number type.
* <P>Type: Either an integer value from {@link android.provider.Contacts.PhonesColumns PhonesColumns},
- * or a string specifying a type and label.</P>
+ * or a string specifying a custom label.</P>
*/
public static final String SECONDARY_PHONE_TYPE = "secondary_phone_type";
@@ -1567,7 +1581,7 @@ public class Contacts {
/**
* The extra field for an optional third contact phone number type.
* <P>Type: Either an integer value from {@link android.provider.Contacts.PhonesColumns PhonesColumns},
- * or a string specifying a type and label.</P>
+ * or a string specifying a custom label.</P>
*/
public static final String TERTIARY_PHONE_TYPE = "tertiary_phone_type";
@@ -1580,7 +1594,7 @@ public class Contacts {
/**
* The extra field for the contact email type.
* <P>Type: Either an integer value from {@link android.provider.Contacts.ContactMethodsColumns ContactMethodsColumns}
- * or a string specifying a type and label.</P>
+ * or a string specifying a custom label.</P>
*/
public static final String EMAIL_TYPE = "email_type";
@@ -1599,7 +1613,7 @@ public class Contacts {
/**
* The extra field for an optional second contact email type.
* <P>Type: Either an integer value from {@link android.provider.Contacts.ContactMethodsColumns ContactMethodsColumns}
- * or a string specifying a type and label.</P>
+ * or a string specifying a custom label.</P>
*/
public static final String SECONDARY_EMAIL_TYPE = "secondary_email_type";
@@ -1612,7 +1626,7 @@ public class Contacts {
/**
* The extra field for an optional third contact email type.
* <P>Type: Either an integer value from {@link android.provider.Contacts.ContactMethodsColumns ContactMethodsColumns}
- * or a string specifying a type and label.</P>
+ * or a string specifying a custom label.</P>
*/
public static final String TERTIARY_EMAIL_TYPE = "tertiary_email_type";
@@ -1625,7 +1639,7 @@ public class Contacts {
/**
* The extra field for the contact postal address type.
* <P>Type: Either an integer value from {@link android.provider.Contacts.ContactMethodsColumns ContactMethodsColumns}
- * or a string specifying a type and label.</P>
+ * or a string specifying a custom label.</P>
*/
public static final String POSTAL_TYPE = "postal_type";