Added in API level 14

ProfileSyncState


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

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
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