Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Constants](https://developer.android.com/reference/android/provider/Telephony.ThreadsColumns#constants) \| [Inherited Constants](https://developer.android.com/reference/android/provider/Telephony.ThreadsColumns#inhconstants)

# Telephony.ThreadsColumns

*** ** * ** ***


`
public
static


interface
Telephony.ThreadsColumns
`


`


implements

https://developer.android.com/reference/android/provider/BaseColumns


`

|---|
| android.provider.Telephony.ThreadsColumns |

|---|
| Known indirect subclasses [Telephony.Threads](https://developer.android.com/reference/android/provider/Telephony.Threads) |---|---| | [Telephony.Threads](https://developer.android.com/reference/android/provider/Telephony.Threads) | Helper functions for the "threads" table used by MMS and SMS. | |

<br />

*** ** * ** ***

Columns for the "threads" table used by MMS and SMS.

## Summary

| ### Constants ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.ThreadsColumns#ARCHIVED` If the thread is archived Type: INTEGER (boolean) <br /> |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.ThreadsColumns#DATE` The date at which the thread was created. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.ThreadsColumns#ERROR` Indicates whether there is a transmission error in the thread. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.ThreadsColumns#HAS_ATTACHMENT` Indicates whether this thread contains any attachments. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.ThreadsColumns#MESSAGE_COUNT` The message count of the thread. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.ThreadsColumns#READ` Indicates whether all messages of the thread have been read. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/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. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.ThreadsColumns#SNIPPET` The snippet of the latest message in the thread. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.ThreadsColumns#SNIPPET_CHARSET` The charset of the snippet. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.ThreadsColumns#TYPE` Type of the thread, either `https://developer.android.com/reference/android/provider/Telephony.Threads#COMMON_THREAD` or `https://developer.android.com/reference/android/provider/Telephony.Threads#BROADCAST_THREAD`. |

| ### Inherited constants |
|---|
| From interface `https://developer.android.com/reference/android/provider/BaseColumns` |---|---| | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/BaseColumns#_COUNT` The count of rows in a directory. | | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/BaseColumns#_ID` The unique ID for a row. | |

## Constants

### ARCHIVED

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String ARCHIVED
```

If the thread is archived

Type: INTEGER (boolean)

<br />

<br />

Constant Value:

"archived"


### DATE

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DATE
```

The date at which the thread was created.

Type: INTEGER (long)

<br />

<br />

Constant Value:

"date"


### ERROR

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String ERROR
```

Indicates whether there is a transmission error in the thread.

Type: INTEGER

<br />

<br />

Constant Value:

"error"


### HAS_ATTACHMENT

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String HAS_ATTACHMENT
```

Indicates whether this thread contains any attachments.

Type: INTEGER

<br />

<br />

Constant Value:

"has_attachment"


### MESSAGE_COUNT

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String MESSAGE_COUNT
```

The message count of the thread.

Type: INTEGER

<br />

<br />

Constant Value:

"message_count"


### READ

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String READ
```

Indicates whether all messages of the thread have been read.

Type: INTEGER

<br />

<br />

Constant Value:

"read"


### RECIPIENT_IDS

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

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

<br />

<br />

Constant Value:

"recipient_ids"


### SNIPPET

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String SNIPPET
```

The snippet of the latest message in the thread.

Type: TEXT

<br />

<br />

Constant Value:

"snippet"


### SNIPPET_CHARSET

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String SNIPPET_CHARSET
```

The charset of the snippet.

Type: INTEGER

<br />

<br />

Constant Value:

"snippet_cs"


### TYPE

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String TYPE
```

Type of the thread, either `https://developer.android.com/reference/android/provider/Telephony.Threads#COMMON_THREAD` or
`https://developer.android.com/reference/android/provider/Telephony.Threads#BROADCAST_THREAD`.

Type: INTEGER

<br />

<br />

Constant Value:

"type"