Android APIs
public static final class

ContactsContract.SyncState

extends Object
implements SyncStateContract.Columns
java.lang.Object
   ↳ android.provider.ContactsContract.SyncState

Class Overview

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

See also:

Summary

Constants
String CONTENT_DIRECTORY
[Expand]
Inherited Constants
From interface android.provider.SyncStateContract.Columns
From interface android.provider.BaseColumns
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)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String CONTENT_DIRECTORY

Added in API level 5

Constant Value: "syncstate"

Fields

public static final Uri CONTENT_URI

Added in API level 5

The content:// style URI for this table

Public Methods

public static byte[] get (ContentProviderClient provider, Account account)

Added in API level 5

Parameters
provider
account
Returns
byte[]
Throws
RemoteException

public static Pair<Uri, byte[]> getWithUri (ContentProviderClient provider, Account account)

Added in API level 5

Parameters
provider
account
Returns
Pair<Uri, byte[]>
Throws
RemoteException

public static ContentProviderOperation newSetOperation (Account account, byte[] data)

Added in API level 5

Parameters
account
data
Returns
ContentProviderOperation

public static void set (ContentProviderClient provider, Account account, byte[] data)

Added in API level 5

Parameters
provider
account
data
Throws
RemoteException