Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

ContactsContract.SyncState

public static final class ContactsContract.SyncState
extends Object implements SyncStateContract.Columns

java.lang.Object
   ↳ android.provider.ContactsContract.SyncState


A table provided for sync adapters to use for storing private sync state data for contacts.

See also:

Summary

Constants

String CONTENT_DIRECTORY

Inherited constants

Fields

public static final Uri CONTENT_URI

The content:// style URI for this table

Public methods

static byte[] get(ContentProviderClient provider, Account account)
static Pair<Uri, byte[]> getWithUri(ContentProviderClient provider, Account account)
static ContentProviderOperation newSetOperation(Account account, byte[] data)
static void set(ContentProviderClient provider, Account account, byte[] data)

Inherited methods

Constants

CONTENT_DIRECTORY

added in API level 5
public static final String CONTENT_DIRECTORY

Constant Value: "syncstate"

Fields

CONTENT_URI

added in API level 5
public static final Uri CONTENT_URI

The content:// style URI for this table

Public methods

get

added in API level 5
public static byte[] get (ContentProviderClient provider, 
                Account account)

Parameters
provider ContentProviderClient

account Account

Returns
byte[]

Throws
RemoteException

getWithUri

added in API level 5
public static Pair<Uri, byte[]> getWithUri (ContentProviderClient provider, 
                Account account)

Parameters
provider ContentProviderClient

account Account

Returns
Pair<Uri, byte[]>

Throws
RemoteException

newSetOperation

added in API level 5
public static ContentProviderOperation newSetOperation (Account account, 
                byte[] data)

Parameters
account Account

data byte

Returns
ContentProviderOperation

set

added in API level 5
public static void set (ContentProviderClient provider, 
                Account account, 
                byte[] data)

Parameters
provider ContentProviderClient

account Account

data byte

Throws
RemoteException