Contacts.Settings
public
static
final
class
Contacts.Settings
extends Object
implements
BaseColumns,
Contacts.SettingsColumns
java.lang.Object | |
↳ | android.provider.Contacts.Settings |
This class was deprecated
in API level 5.
see ContactsContract
The settings over all of the people
Summary
Constants | |
---|---|
String |
CONTENT_DIRECTORY
This constant is deprecated.
see |
String |
DEFAULT_SORT_ORDER
This constant is deprecated.
see |
String |
SYNC_EVERYTHING
This constant is deprecated.
see |
Inherited constants |
---|
Fields | |
---|---|
public
static
final
Uri |
CONTENT_URI
This field is deprecated.
see |
Public methods | |
---|---|
static
String
|
getSetting(ContentResolver cr, String account, String key)
This method is deprecated.
see |
static
void
|
setSetting(ContentResolver cr, String account, String key, String value)
This method is deprecated.
see |
Inherited methods | |
---|---|
Constants
CONTENT_DIRECTORY
public static final String CONTENT_DIRECTORY
This constant is deprecated.
see ContactsContract
The directory twig for this sub-table
Constant Value: "settings"
DEFAULT_SORT_ORDER
public static final String DEFAULT_SORT_ORDER
This constant is deprecated.
see ContactsContract
The default sort order for this table
Constant Value: "key ASC"
SYNC_EVERYTHING
public static final String SYNC_EVERYTHING
This constant is deprecated.
see ContactsContract
A setting that is used to indicate if we should sync down all groups for the specified account. For this setting the _SYNC_ACCOUNT column must be set. If this isn't set then we will only sync the groups whose SHOULD_SYNC column is set to true.
This is a boolean setting. It is true if it is set and it is anything other than the emptry string or "0".
Constant Value: "syncEverything"
Fields
CONTENT_URI
public static final Uri CONTENT_URI
This field is deprecated.
see ContactsContract
The content:// style URL for this table
Public methods
getSetting
public static String getSetting (ContentResolver cr, String account, String key)
This method is deprecated.
see ContactsContract
Parameters | |
---|---|
cr |
ContentResolver |
account |
String |
key |
String |
Returns | |
---|---|
String |
setSetting
public static void setSetting (ContentResolver cr, String account, String key, String value)
This method is deprecated.
see ContactsContract
Parameters | |
---|---|
cr |
ContentResolver |
account |
String |
key |
String |
value |
String |