Stay organized with collections
Save and categorize content based on your preferences.
SyncState
class SyncState : SyncStateContract.Columns
A table provided for sync adapters to use for storing private sync state data.
Summary
Inherited constants |
From class Columns
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
|
|
|
Properties |
static Uri! |
The content:// style URI for this table
|
Properties
CONTENT_URI
static val CONTENT_URI: Uri!
The content:// style URI for this table
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# CalendarContract.SyncState\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nSyncState\n=========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/provider/CalendarContract.SyncState \"View this page in Java\") \n\n```\nclass SyncState : SyncStateContract.Columns\n```\n\n|---|--------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.provider.CalendarContract.SyncState](#) |\n\nA table provided for sync adapters to use for storing private sync state data.\n\nSummary\n-------\n\n| Inherited constants ||\n|---|---|\n| From class [Columns](/reference/kotlin/android/provider/SyncStateContract.Columns) |----------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ACCOUNT_NAME](/reference/kotlin/android/provider/SyncStateContract.Columns#ACCOUNT_NAME:kotlin.String) A reference to the name of the account to which this data belongs Type: STRING \u003cbr /\u003e | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ACCOUNT_TYPE](/reference/kotlin/android/provider/SyncStateContract.Columns#ACCOUNT_TYPE:kotlin.String) A reference to the type of the account to which this data belongs Type: STRING \u003cbr /\u003e | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DATA](/reference/kotlin/android/provider/SyncStateContract.Columns#DATA:kotlin.String) The sync data associated with this account. Type: NONE \u003cbr /\u003e | ||\n| From class [BaseColumns](/reference/kotlin/android/provider/BaseColumns) |----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_COUNT](/reference/kotlin/android/provider/BaseColumns#_COUNT:kotlin.String) The count of rows in a directory. Type: INTEGER \u003cbr /\u003e | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_ID](/reference/kotlin/android/provider/BaseColumns#_ID:kotlin.String) The unique ID for a row. Type: INTEGER (long) \u003cbr /\u003e | ||\n\n| Properties ||\n|---------------------------------|-------------------------------------------------------------------------------------|\n| static [Uri](../net/Uri.html#)! | [CONTENT_URI](#CONTENT_URI:android.net.Uri) The content:// style URI for this table |\n\nProperties\n----------\n\n### CONTENT_URI\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CONTENT_URI: Uri!\n```\n\nThe content:// style URI for this table"]]