Stay organized with collections
Save and categorize content based on your preferences.
ThreadsColumns
interface ThreadsColumns : BaseColumns
Columns for the "threads" table used by MMS and SMS.
Summary
Constants |
static String |
If the thread is archived
|
static String |
The date at which the thread was created.
|
static String |
Indicates whether there is a transmission error in the thread.
|
static String |
Indicates whether this thread contains any attachments.
|
static String |
The message count of the thread.
|
static String |
Indicates whether all messages of the thread have been read.
|
static String |
A string encoding of the recipient IDs of the recipients of the message, in numerical order and separated by spaces.
|
static String |
The snippet of the latest message in the thread.
|
static String |
The charset of the snippet.
|
static String |
Type of the thread, either Threads.COMMON_THREAD or Threads.BROADCAST_THREAD .
|
Constants
ARCHIVED
static val ARCHIVED: String
If the thread is archived
Type: INTEGER (boolean)
Value: "archived"
DATE
static val DATE: String
The date at which the thread was created.
Type: INTEGER (long)
Value: "date"
ERROR
static val ERROR: String
Indicates whether there is a transmission error in the thread.
Type: INTEGER
Value: "error"
HAS_ATTACHMENT
static val HAS_ATTACHMENT: String
Indicates whether this thread contains any attachments.
Type: INTEGER
Value: "has_attachment"
MESSAGE_COUNT
static val MESSAGE_COUNT: String
The message count of the thread.
Type: INTEGER
Value: "message_count"
READ
static val READ: String
Indicates whether all messages of the thread have been read.
Type: INTEGER
Value: "read"
RECIPIENT_IDS
static val RECIPIENT_IDS: String
A string encoding of the recipient IDs of the recipients of the message, in numerical order and separated by spaces.
Type: TEXT
Value: "recipient_ids"
SNIPPET
static val SNIPPET: String
The snippet of the latest message in the thread.
Type: TEXT
Value: "snippet"
SNIPPET_CHARSET
static val SNIPPET_CHARSET: String
The charset of the snippet.
Type: INTEGER
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](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nThreadsColumns\n==============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/provider/Telephony.ThreadsColumns \"View this page in Java\") \n\n```\ninterface ThreadsColumns : BaseColumns\n```\n\n|------------------------------------------------|\n| [android.provider.Telephony.ThreadsColumns](#) |\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [Telephony.Threads](/reference/kotlin/android/provider/Telephony.Threads) |---------------------------------------------------------------------------|---------------------------------------------------------------| | [Telephony.Threads](/reference/kotlin/android/provider/Telephony.Threads) | Helper functions for the \"threads\" table used by MMS and SMS. | |\n\nColumns for the \"threads\" table used by MMS and SMS.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ARCHIVED](#ARCHIVED:kotlin.String) If the thread is archived |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DATE](#DATE:kotlin.String) The date at which the thread was created. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ERROR](#ERROR:kotlin.String) Indicates whether there is a transmission error in the thread. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [HAS_ATTACHMENT](#HAS_ATTACHMENT:kotlin.String) Indicates whether this thread contains any attachments. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [MESSAGE_COUNT](#MESSAGE_COUNT:kotlin.String) The message count of the thread. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [READ](#READ:kotlin.String) Indicates whether all messages of the thread have been read. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [RECIPIENT_IDS](#RECIPIENT_IDS:kotlin.String) A string encoding of the recipient IDs of the recipients of the message, in numerical order and separated by spaces. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [SNIPPET](#SNIPPET:kotlin.String) The snippet of the latest message in the thread. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [SNIPPET_CHARSET](#SNIPPET_CHARSET:kotlin.String) The charset of the snippet. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [TYPE](#TYPE:kotlin.String) Type of the thread, either [Threads.COMMON_THREAD](/reference/kotlin/android/provider/Telephony.Threads#COMMON_THREAD:kotlin.Int) or [Threads.BROADCAST_THREAD](/reference/kotlin/android/provider/Telephony.Threads#BROADCAST_THREAD:kotlin.Int). |\n\n| Inherited constants ||\n|---|---|\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\nConstants\n---------\n\n### ARCHIVED\n\nAdded in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ARCHIVED: String\n```\n\nIf the thread is archived\n\nType: INTEGER (boolean) \n\n Value: \"archived\"\n\n### DATE\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val DATE: String\n```\n\nThe date at which the thread was created.\n\nType: INTEGER (long) \n\n Value: \"date\"\n\n### ERROR\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ERROR: String\n```\n\nIndicates whether there is a transmission error in the thread.\n\nType: INTEGER \n\n Value: \"error\"\n\n### HAS_ATTACHMENT\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val HAS_ATTACHMENT: String\n```\n\nIndicates whether this thread contains any attachments.\n\nType: INTEGER \n\n Value: \"has_attachment\"\n\n### MESSAGE_COUNT\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val MESSAGE_COUNT: String\n```\n\nThe message count of the thread.\n\nType: INTEGER \n\n Value: \"message_count\"\n\n### READ\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val READ: String\n```\n\nIndicates whether all messages of the thread have been read.\n\nType: INTEGER \n\n Value: \"read\"\n\n### RECIPIENT_IDS\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val RECIPIENT_IDS: String\n```\n\nA string encoding of the recipient IDs of the recipients of the message, in numerical order and separated by spaces.\n\nType: TEXT \n\n Value: \"recipient_ids\"\n\n### SNIPPET\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SNIPPET: String\n```\n\nThe snippet of the latest message in the thread.\n\nType: TEXT \n\n Value: \"snippet\"\n\n### SNIPPET_CHARSET\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SNIPPET_CHARSET: String\n```\n\nThe charset of the snippet.\n\nType: INTEGER \n\n Value: \"snippet_cs\"\n\n### TYPE\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val TYPE: String\n```\n\nType of the thread, either [Threads.COMMON_THREAD](/reference/kotlin/android/provider/Telephony.Threads#COMMON_THREAD:kotlin.Int) or [Threads.BROADCAST_THREAD](/reference/kotlin/android/provider/Telephony.Threads#BROADCAST_THREAD:kotlin.Int).\n\nType: INTEGER \n\n Value: \"type\""]]