public static class

ContactsSource.DataKind

extends Object
java.lang.Object
   ↳ com.android.contacts.model.ContactsSource.DataKind

Class Overview

Description of a specific data type, usually marked by a unique MIMETYPE. Includes details about how to view and edit Data rows of this kind, including the possible ContactsSource.EditType labels and editable ContactsSource.EditField.

Summary

Fields
public ContactsSource.StringInflater actionAltHeader
public ContactsSource.StringInflater actionBody
public boolean actionBodySocial
public ContactsSource.StringInflater actionHeader
public ContentValues defaultValues
public boolean editable
public List<ContactsSource.EditField> fieldList
public int iconAltRes
public int iconRes
public boolean isList If this is true (default), the user can add and remove values.
public String mimeType
public String resPackageName
public boolean secondary
public int titleRes
public String typeColumn
public List<ContactsSource.EditType> typeList
public int typeOverallMax Maximum number of values allowed in the list.
public int weight
Public Constructors
ContactsSource.DataKind()
ContactsSource.DataKind(String mimeType, int titleRes, int iconRes, int weight, boolean editable)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public ContactsSource.StringInflater actionAltHeader

public ContactsSource.StringInflater actionBody

public boolean actionBodySocial

public ContactsSource.StringInflater actionHeader

public ContentValues defaultValues

public boolean editable

public List<ContactsSource.EditField> fieldList

public int iconAltRes

public int iconRes

public boolean isList

If this is true (default), the user can add and remove values. If false, the editor will always show a single field (which might be empty).

public String mimeType

public String resPackageName

public boolean secondary

public int titleRes

public String typeColumn

public List<ContactsSource.EditType> typeList

public int typeOverallMax

Maximum number of values allowed in the list. -1 represents infinity. If isList is false, this value is ignored.

public int weight

Public Constructors

public ContactsSource.DataKind ()

public ContactsSource.DataKind (String mimeType, int titleRes, int iconRes, int weight, boolean editable)