Stay organized with collections
Save and categorize content based on your preferences.
Telephony.ThreadsColumns
public
static
interface
Telephony.ThreadsColumns
implements
BaseColumns
android.provider.Telephony.ThreadsColumns
|
Known indirect subclasses
|
Columns for the "threads" table used by MMS and SMS.
Summary
Constants
ARCHIVED
public static final String ARCHIVED
If the thread is archived
Type: INTEGER (boolean)
Constant Value:
"archived"
DATE
public static final String DATE
The date at which the thread was created.
Type: INTEGER (long)
Constant Value:
"date"
ERROR
public static final String ERROR
Indicates whether there is a transmission error in the thread.
Type: INTEGER
Constant Value:
"error"
HAS_ATTACHMENT
public static final String HAS_ATTACHMENT
Indicates whether this thread contains any attachments.
Type: INTEGER
Constant Value:
"has_attachment"
MESSAGE_COUNT
public static final String MESSAGE_COUNT
The message count of the thread.
Type: INTEGER
Constant Value:
"message_count"
READ
public static final String READ
Indicates whether all messages of the thread have been read.
Type: INTEGER
Constant Value:
"read"
RECIPIENT_IDS
public static final String RECIPIENT_IDS
A string encoding of the recipient IDs of the recipients of
the message, in numerical order and separated by spaces.
Type: TEXT
Constant Value:
"recipient_ids"
SNIPPET
public static final String SNIPPET
The snippet of the latest message in the thread.
Type: TEXT
Constant Value:
"snippet"
SNIPPET_CHARSET
public static final String SNIPPET_CHARSET
The charset of the snippet.
Type: INTEGER
Constant Value:
"snippet_cs"
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,["# Telephony.ThreadsColumns\n\nAdded in [API level 19](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Constants](#constants) \\| [Inherited Constants](#inhconstants) \n\nTelephony.ThreadsColumns\n========================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/provider/Telephony.ThreadsColumns \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nTelephony.ThreadsColumns\n`\n\n\n`\n\n\nimplements\n\n`[BaseColumns](/reference/android/provider/BaseColumns)`\n\n\n`\n\n|-------------------------------------------|\n| android.provider.Telephony.ThreadsColumns |\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [Telephony.Threads](/reference/android/provider/Telephony.Threads) |--------------------------------------------------------------------|---------------------------------------------------------------| | [Telephony.Threads](/reference/android/provider/Telephony.Threads) | Helper functions for the \"threads\" table used by MMS and SMS. | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nColumns for the \"threads\" table used by MMS and SMS.\n\nSummary\n-------\n\n| ### Constants ||\n|---------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [String](/reference/java/lang/String) | [ARCHIVED](/reference/android/provider/Telephony.ThreadsColumns#ARCHIVED) If the thread is archived Type: INTEGER (boolean) \u003cbr /\u003e |\n| [String](/reference/java/lang/String) | [DATE](/reference/android/provider/Telephony.ThreadsColumns#DATE) The date at which the thread was created. |\n| [String](/reference/java/lang/String) | [ERROR](/reference/android/provider/Telephony.ThreadsColumns#ERROR) Indicates whether there is a transmission error in the thread. |\n| [String](/reference/java/lang/String) | [HAS_ATTACHMENT](/reference/android/provider/Telephony.ThreadsColumns#HAS_ATTACHMENT) Indicates whether this thread contains any attachments. |\n| [String](/reference/java/lang/String) | [MESSAGE_COUNT](/reference/android/provider/Telephony.ThreadsColumns#MESSAGE_COUNT) The message count of the thread. |\n| [String](/reference/java/lang/String) | [READ](/reference/android/provider/Telephony.ThreadsColumns#READ) Indicates whether all messages of the thread have been read. |\n| [String](/reference/java/lang/String) | [RECIPIENT_IDS](/reference/android/provider/Telephony.ThreadsColumns#RECIPIENT_IDS) A string encoding of the recipient IDs of the recipients of the message, in numerical order and separated by spaces. |\n| [String](/reference/java/lang/String) | [SNIPPET](/reference/android/provider/Telephony.ThreadsColumns#SNIPPET) The snippet of the latest message in the thread. |\n| [String](/reference/java/lang/String) | [SNIPPET_CHARSET](/reference/android/provider/Telephony.ThreadsColumns#SNIPPET_CHARSET) The charset of the snippet. |\n| [String](/reference/java/lang/String) | [TYPE](/reference/android/provider/Telephony.ThreadsColumns#TYPE) Type of the thread, either [Threads.COMMON_THREAD](/reference/android/provider/Telephony.Threads#COMMON_THREAD) or [Threads.BROADCAST_THREAD](/reference/android/provider/Telephony.Threads#BROADCAST_THREAD). |\n\n| ### Inherited constants |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| From interface [android.provider.BaseColumns](/reference/android/provider/BaseColumns) |---------------------------------------|--------------------------------------------------------------------------------------------| | [String](/reference/java/lang/String) | [_COUNT](/reference/android/provider/BaseColumns#_COUNT) The count of rows in a directory. | | [String](/reference/java/lang/String) | [_ID](/reference/android/provider/BaseColumns#_ID) The unique ID for a row. | |\n\nConstants\n---------\n\n### ARCHIVED\n\nAdded in [API level 21](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String ARCHIVED\n```\n\nIf the thread is archived\n\nType: INTEGER (boolean)\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"archived\"\n\n\n### DATE\n\nAdded in [API level 19](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String DATE\n```\n\nThe date at which the thread was created.\n\nType: INTEGER (long)\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"date\"\n\n\n### ERROR\n\nAdded in [API level 19](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String ERROR\n```\n\nIndicates whether there is a transmission error in the thread.\n\nType: INTEGER\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"error\"\n\n\n### HAS_ATTACHMENT\n\nAdded in [API level 19](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String HAS_ATTACHMENT\n```\n\nIndicates whether this thread contains any attachments.\n\nType: INTEGER\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"has_attachment\"\n\n\n### MESSAGE_COUNT\n\nAdded in [API level 19](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String MESSAGE_COUNT\n```\n\nThe message count of the thread.\n\nType: INTEGER\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"message_count\"\n\n\n### READ\n\nAdded in [API level 19](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String READ\n```\n\nIndicates whether all messages of the thread have been read.\n\nType: INTEGER\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"read\"\n\n\n### RECIPIENT_IDS\n\nAdded in [API level 19](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String RECIPIENT_IDS\n```\n\nA string encoding of the recipient IDs of the recipients of\nthe message, in numerical order and separated by spaces.\n\nType: TEXT\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"recipient_ids\"\n\n\n### SNIPPET\n\nAdded in [API level 19](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String SNIPPET\n```\n\nThe snippet of the latest message in the thread.\n\nType: TEXT\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"snippet\"\n\n\n### SNIPPET_CHARSET\n\nAdded in [API level 19](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String SNIPPET_CHARSET\n```\n\nThe charset of the snippet.\n\nType: INTEGER\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"snippet_cs\"\n\n\n### TYPE\n\nAdded in [API level 19](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String TYPE\n```\n\nType of the thread, either [Threads.COMMON_THREAD](/reference/android/provider/Telephony.Threads#COMMON_THREAD) or\n[Threads.BROADCAST_THREAD](/reference/android/provider/Telephony.Threads#BROADCAST_THREAD).\n\nType: INTEGER\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"type\""]]