Most visited

Recently visited

Added in API level 14

ContactsContract.ProfileSyncState

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

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


为同步适配器提供的表格用于存储用户个人配置文件的专用同步状态数据。

也可以看看:

Summary

Constants

String CONTENT_DIRECTORY

Inherited constants

From interface android.provider.SyncStateContract.Columns
From interface android.provider.BaseColumns

Fields

public static final Uri CONTENT_URI

该表格的内容://样式URI

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

From class java.lang.Object

Constants

CONTENT_DIRECTORY

Added in API level 14
String CONTENT_DIRECTORY

常量值:“syncstate”

Fields

CONTENT_URI

Added in API level 14
Uri CONTENT_URI

该表格的内容://样式URI

Public methods

get

Added in API level 14
byte[] get (ContentProviderClient provider, 
                Account account)

Parameters
provider ContentProviderClient
account Account
Returns
byte[]
Throws
RemoteException

也可以看看:

getWithUri

Added in API level 14
Pair<Uri, byte[]> getWithUri (ContentProviderClient provider, 
                Account account)

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

See also:

newSetOperation

Added in API level 14
ContentProviderOperation newSetOperation (Account account, 
                byte[] data)

Parameters
account Account
data byte
Returns
ContentProviderOperation

也可以看看:

set

Added in API level 14
void set (ContentProviderClient provider, 
                Account account, 
                byte[] data)

Parameters
provider ContentProviderClient
account Account
data byte
Throws
RemoteException

也可以看看:

Hooray!