Telephony.Sms.Conversations

public static final class Telephony.Sms.Conversations
extends Object implements BaseColumns, Telephony.TextBasedSmsColumns

java.lang.Object
   ↳ android.provider.Telephony.Sms.Conversations


Contains a view of SMS conversations (also referred to as threads). This is similar to 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

String DEFAULT_SORT_ORDER

The default sort order for this table.

String MESSAGE_COUNT

The number of messages in the conversation.

String SNIPPET

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

Inherited constants

Fields

public static final Uri CONTENT_URI

The content:// style URL for this table.

Inherited methods

Constants

DEFAULT_SORT_ORDER

Added in API level 19
public static final String DEFAULT_SORT_ORDER

The default sort order for this table.

Constant Value: "date DESC"

MESSAGE_COUNT

Added in API level 19
public static final String MESSAGE_COUNT

The number of messages in the conversation.

Type: INTEGER

Constant Value: "msg_count"

SNIPPET

Added in API level 19
public static final String SNIPPET

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

Type: TEXT

Constant Value: "snippet"

Fields

CONTENT_URI

Added in API level 19
public static final Uri CONTENT_URI

The content:// style URL for this table.