| java.lang.Object | |
| ↳ | android.provider.ContactsContract.CommonDataKinds.Relation | 
A data kind representing a relation.
 You can use all columns defined for ContactsContract.Data as well as the following aliases. 
| Type | Alias | Data column | |
|---|---|---|---|
| String | NAME | DATA1 | |
| int | TYPE | DATA2 | Allowed values are: 
 | 
| String | LABEL | DATA3 | |
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | CONTENT_ITEM_TYPE | MIME type used when storing this in data table. | |||||||||
| String | NAME | The name of the relative as the user entered it. | |||||||||
| int | TYPE_ASSISTANT | ||||||||||
| int | TYPE_BROTHER | ||||||||||
| int | TYPE_CHILD | ||||||||||
| int | TYPE_DOMESTIC_PARTNER | ||||||||||
| int | TYPE_FATHER | ||||||||||
| int | TYPE_FRIEND | ||||||||||
| int | TYPE_MANAGER | ||||||||||
| int | TYPE_MOTHER | ||||||||||
| int | TYPE_PARENT | ||||||||||
| int | TYPE_PARTNER | ||||||||||
| int | TYPE_REFERRED_BY | ||||||||||
| int | TYPE_RELATIVE | ||||||||||
| int | TYPE_SISTER | ||||||||||
| int | TYPE_SPOUSE | ||||||||||
| [Expand] 
           Inherited Constants
           | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From interface android.provider.BaseColumns | |||||||||||
|  From interface android.provider.ContactsContract.CommonDataKinds.BaseTypes | |||||||||||
|  From interface android.provider.ContactsContract.CommonDataKinds.CommonColumns | |||||||||||
|  From interface android.provider.ContactsContract.ContactNameColumns | |||||||||||
|  From interface android.provider.ContactsContract.ContactOptionsColumns | |||||||||||
|  From interface android.provider.ContactsContract.ContactStatusColumns | |||||||||||
|  From interface android.provider.ContactsContract.ContactsColumns | |||||||||||
|  From interface android.provider.ContactsContract.DataColumns | |||||||||||
|  From interface android.provider.ContactsContract.RawContactsColumns | |||||||||||
|  From interface android.provider.ContactsContract.StatusColumns | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  |  | 
           Return a 
            CharSequencethat best describes the given type, possibly substituting the givenLABELvalue forTYPE_CUSTOM. | |||||||||
|  |  | 
           Return the string resource that best describes the given 
            TYPE. | |||||||||
| [Expand] 
           Inherited Methods
           | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class java.lang.Object | |||||||||||
MIME type used when storing this in data table.
The name of the relative as the user entered it.
Type: TEXT
Return a CharSequence that best describes the given type, possibly substituting the given LABEL value for TYPE_CUSTOM. 
Return the string resource that best describes the given TYPE. Will always return a valid resource.