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.Sms.Conversations#constants) \| [Inherited Constants](https://developer.android.com/reference/android/provider/Telephony.Sms.Conversations#inhconstants) \| [Fields](https://developer.android.com/reference/android/provider/Telephony.Sms.Conversations#lfields) \| [Inherited Methods](https://developer.android.com/reference/android/provider/Telephony.Sms.Conversations#inhmethods)

# Telephony.Sms.Conversations

*** ** * ** ***

` public static final class Telephony.Sms.Conversations `   
` extends https://developer.android.com/reference/java/lang/Object ` ` implements https://developer.android.com/reference/android/provider/BaseColumns, https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns `

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.provider.Telephony.Sms.Conversations |

<br />

*** ** * ** ***

Contains a view of SMS conversations (also referred to as threads). This is similar to `https://developer.android.com/reference/android/provider/Telephony.Threads`, but only includes SMS messages and columns relevant to SMS conversations.

Note that this view ignores any information about MMS messages, it is a view of conversations as if MMS messages did not exist at all. This means that all relevant information, such as snippets and message count, will ignore any MMS messages that might be in the same thread through other views and present only data based on the SMS messages in that thread.

## Summary

| ### Constants ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.Sms.Conversations#DEFAULT_SORT_ORDER` The default sort order for this table. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.Sms.Conversations#MESSAGE_COUNT` The number of messages in the conversation. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Telephony.Sms.Conversations#SNIPPET` The first 45 characters of the body of the most recent message. |

### 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.
From interface `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns` `https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#ADDRESS`

The address of the other party.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#BODY`

The body of the message.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#CREATOR`

The identity of the sender of a sent message.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#DATE`

The date the message was received.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#DATE_SENT`

The date the message was sent.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#ERROR_CODE`

Error code associated with sending or receiving this message

Type: INTEGER

<br />

`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#LOCKED`

Is the message locked?

Type: INTEGER (boolean)

<br />

`int` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#MESSAGE_TYPE_ALL`

Message type: all messages.
`int` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#MESSAGE_TYPE_DRAFT`

Message type: drafts.
`int` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#MESSAGE_TYPE_FAILED`

Message type: failed outgoing message.
`int` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#MESSAGE_TYPE_INBOX`

Message type: inbox.
`int` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#MESSAGE_TYPE_OUTBOX`

Message type: outbox.
`int` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#MESSAGE_TYPE_QUEUED`

Message type: queued to send later.
`int` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#MESSAGE_TYPE_SENT`

Message type: sent messages.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#PERSON`

The ID of the sender of the conversation, if present.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#PROTOCOL`

The protocol identifier code.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#READ`

Has the message been read?

Type: INTEGER (boolean)

<br />

`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#REPLY_PATH_PRESENT`

Is the `TP-Reply-Path` flag set?

Type: BOOLEAN

<br />

`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#SEEN`

Has the message been seen by the user? The "seen" flag determines whether we need to show a notification.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#SERVICE_CENTER`

The service center (SC) through which to send the message, if present.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#STATUS`

`TP-Status` value for the message, or -1 if no status has been received.
`int` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#STATUS_COMPLETE`

TP-Status: complete.
`int` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#STATUS_FAILED`

TP-Status: failed.
`int` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#STATUS_NONE`

TP-Status: no status received.
`int` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#STATUS_PENDING`

TP-Status: pending.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#SUBJECT`

The subject of the message, if present.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#SUBSCRIPTION_ID`

The subscription to which the message belongs to.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#THREAD_ID`

The thread ID of the message.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#TRANSACTION_ID`

The `transaction-id` of the message.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#TYPE`

The type of message.

| ### Fields ||
|---|---|
| ` public static final https://developer.android.com/reference/android/net/Uri` | `https://developer.android.com/reference/android/provider/Telephony.Sms.Conversations#CONTENT_URI` The `content://` style URL for this table. |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` https://developer.android.com/reference/java/lang/Object#finalize()() `

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
` final https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait()() `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*.

## Constants

### DEFAULT_SORT_ORDER

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

```
public static final String DEFAULT_SORT_ORDER
```

The default sort order for this table.

<br />

Constant Value: "date DESC"

### 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 number of messages in the conversation.

Type: INTEGER

<br />

<br />

Constant Value: "msg_count"

### SNIPPET

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

```
public static final String SNIPPET
```

The first 45 characters of the body of the most recent message.

Type: TEXT

<br />

<br />

Constant Value: "snippet"

## Fields

### CONTENT_URI

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

```
public static final Uri CONTENT_URI
```

The `content://` style URL for this table.

<br />