Added in API level 5

SyncState


class SyncState : SyncStateContract.Columns
kotlin.Any
   ↳ android.provider.ContactsContract.SyncState

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

Summary

Constants
static String

Inherited constants
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 5
static val CONTENT_DIRECTORY: String
Value: "syncstate"

Public methods

get

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

getWithUri

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

newSetOperation

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

set

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

Properties

CONTENT_URI

Added in API level 5
static val CONTENT_URI: Uri!

The content:// style URI for this table