Android APIs
public static final class

ContactsContract.Preferences

extends Object
java.lang.Object
   ↳ android.provider.ContactsContract.Preferences

Summary

Constants
String DISPLAY_ORDER A key in the android.provider.Settings provider that stores the preferred display order for contacts (given name first vs.
int DISPLAY_ORDER_ALTERNATIVE The value for the DISPLAY_ORDER key corresponding to showing the family name first.
int DISPLAY_ORDER_PRIMARY The value for the DISPLAY_ORDER key corresponding to showing the given name first.
String SORT_ORDER A key in the android.provider.Settings provider that stores the preferred sorting order for contacts (by given name vs.
int SORT_ORDER_ALTERNATIVE The value for the SORT_ORDER key corresponding to sorting by family name first.
int SORT_ORDER_PRIMARY The value for the SORT_ORDER key corresponding to sorting by given name first.
Public Constructors
ContactsContract.Preferences()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String DISPLAY_ORDER

A key in the android.provider.Settings provider that stores the preferred display order for contacts (given name first vs. family name first).

Constant Value: "android.contacts.DISPLAY_ORDER"

public static final int DISPLAY_ORDER_ALTERNATIVE

The value for the DISPLAY_ORDER key corresponding to showing the family name first.

Constant Value: 2 (0x00000002)

public static final int DISPLAY_ORDER_PRIMARY

The value for the DISPLAY_ORDER key corresponding to showing the given name first.

Constant Value: 1 (0x00000001)

public static final String SORT_ORDER

A key in the android.provider.Settings provider that stores the preferred sorting order for contacts (by given name vs. by family name).

Constant Value: "android.contacts.SORT_ORDER"

public static final int SORT_ORDER_ALTERNATIVE

The value for the SORT_ORDER key corresponding to sorting by family name first.

Constant Value: 2 (0x00000002)

public static final int SORT_ORDER_PRIMARY

The value for the SORT_ORDER key corresponding to sorting by given name first.

Constant Value: 1 (0x00000001)

Public Constructors

public ContactsContract.Preferences ()