Added in API level 14

ProfileSyncState


class ProfileSyncState : SyncStateContract.Columns

A table provided for sync adapters to use for storing private sync state data for the user's personal profile.

Summary

Constants
static String

Inherited constants
String ACCOUNT_NAME

A reference to the name of the account to which this data belongs

Type: STRING

String ACCOUNT_TYPE

A reference to the type of the account to which this data belongs

Type: STRING

String DATA

The sync data associated with this account.

Type: NONE

String _COUNT

The count of rows in a directory.

Type: INTEGER

String _ID

The unique ID for a row.

Type: INTEGER (long)

Public methods
static ByteArray!
get(provider: ContentProviderClient!, account: Account!)

static Pair<Uri!, ByteArray!>!
getWithUri(provider: ContentProviderClient!, account: Account!)

static ContentProviderOperation!
newSetOperation(account: Account!, data: ByteArray!)

static Unit
set(provider: ContentProviderClient!, account: Account!, data: ByteArray!)

Properties
static Uri!

The content:// style URI for this table

Constants

CONTENT_DIRECTORY

Added in API level 14
static val CONTENT_DIRECTORY: String
Value: "syncstate"

Public methods

get

Added in API level 14
static fun get(
    provider: ContentProviderClient!,
    account: Account!
): ByteArray!

getWithUri

Added in API level 14
static fun getWithUri(
    provider: ContentProviderClient!,
    account: Account!
): Pair<Uri!, ByteArray!>!

newSetOperation

Added in API level 14
static fun newSetOperation(
    account: Account!,
    data: ByteArray!
): ContentProviderOperation!

set

Added in API level 14
static fun set(
    provider: ContentProviderClient!,
    account: Account!,
    data: ByteArray!
): Unit

Properties

CONTENT_URI

Added in API level 14
static val CONTENT_URI: Uri!

The content:// style URI for this table