Stay organized with collections
Save and categorize content based on your preferences.
GroupsColumns
interface GroupsColumns
Columns from the groups table.
Summary
Constants |
static String |
The group name.
|
static String |
Notes about the group.
|
static String |
Whether this group should be synced if the SYNC_EVERYTHING settings is false for this group's account.
|
static String |
The ID of this group if it is a System Group, null otherwise.
|
Constants
SHOULD_SYNC
static val SHOULD_SYNC: String
Deprecated: see android.provider.ContactsContract
Whether this group should be synced if the SYNC_EVERYTHING settings is false for this group's account.
Type: INTEGER (boolean)
Value: "should_sync"
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# Contacts.GroupsColumns\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nGroupsColumns\n=============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/provider/Contacts.GroupsColumns \"View this page in Java\") \n\n```\ninterface GroupsColumns\n```\n\n|----------------------------------------------|\n| [android.provider.Contacts.GroupsColumns](#) |\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [Contacts.GroupMembership](/reference/kotlin/android/provider/Contacts.GroupMembership), [Contacts.Groups](/reference/kotlin/android/provider/Contacts.Groups) |-----------------------------------------------------------------------------------------|------------------------------------------------| | [Contacts.GroupMembership](/reference/kotlin/android/provider/Contacts.GroupMembership) | \u003cbr /\u003e | | [Contacts.Groups](/reference/kotlin/android/provider/Contacts.Groups) | This table contains the groups for an account. | |\n\n*** ** * ** ***\n\n| **This interface was deprecated in API level 5.**\n|\n| see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)\n\nColumns from the groups table.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [NAME](#NAME:kotlin.String) The group name. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [NOTES](#NOTES:kotlin.String) Notes about the group. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [SHOULD_SYNC](#SHOULD_SYNC:kotlin.String) Whether this group should be synced if the SYNC_EVERYTHING settings is false for this group's account. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [SYSTEM_ID](#SYSTEM_ID:kotlin.String) The ID of this group if it is a System Group, null otherwise. |\n\nConstants\n---------\n\n### NAME\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val NAME: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nThe group name.\n\nType: TEXT \n\n Value: \"name\"\n\n### NOTES\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val NOTES: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nNotes about the group.\n\nType: TEXT \n\n Value: \"notes\"\n\n### SHOULD_SYNC\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SHOULD_SYNC: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nWhether this group should be synced if the SYNC_EVERYTHING settings is false for this group's account.\n\nType: INTEGER (boolean) \n\n Value: \"should_sync\"\n\n### SYSTEM_ID\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SYSTEM_ID: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nThe ID of this group if it is a System Group, null otherwise.\n\nType: TEXT \n\n Value: \"system_id\""]]