Build 1.0_r1(from source)

android.provider
Class Contacts.Settings

java.lang.Object
  extended by android.provider.Contacts.Settings
All Implemented Interfaces:
BaseColumns, Contacts.SettingsColumns
Enclosing class:
Contacts

public static final class Contacts.Settings
extends Object
implements BaseColumns, Contacts.SettingsColumns

The settings over all of the people


Field Summary
static String CONTENT_DIRECTORY
          The directory twig for this sub-table
static Uri CONTENT_URI
          The content:// style URL for this table
static String DEFAULT_SORT_ORDER
          The default sort order for this table
static String SYNC_EVERYTHING
          A setting that is used to indicate if we should sync down all groups for the specified account.
 
Fields inherited from interface android.provider.BaseColumns
_COUNT, _ID
 
Fields inherited from interface android.provider.Contacts.SettingsColumns
_SYNC_ACCOUNT, KEY, VALUE
 
Method Summary
static String getSetting(ContentResolver cr, String account, String key)
           
static void setSetting(ContentResolver cr, String account, String key, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTENT_URI

public static final Uri CONTENT_URI
The content:// style URL for this table


CONTENT_DIRECTORY

public static final String CONTENT_DIRECTORY
The directory twig for this sub-table

See Also:
Constant Field Values

DEFAULT_SORT_ORDER

public static final String DEFAULT_SORT_ORDER
The default sort order for this table

See Also:
Constant Field Values

SYNC_EVERYTHING

public static final String SYNC_EVERYTHING
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".

See Also:
Constant Field Values
Method Detail

getSetting

public static String getSetting(ContentResolver cr,
                                String account,
                                String key)

setSetting

public static void setSetting(ContentResolver cr,
                              String account,
                              String key,
                              String value)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature