Added in API level 19

Conversations


class Conversations : BaseColumns, Telephony.TextBasedSmsColumns
kotlin.Any
   ↳ 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
static String

The default sort order for this table.

static String

The number of messages in the conversation.

static String

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

Inherited constants
Properties
static Uri!

The content:// style URL for this table.

Constants

DEFAULT_SORT_ORDER

Added in API level 19
static val DEFAULT_SORT_ORDER: String

The default sort order for this table.

Value: "date DESC"

MESSAGE_COUNT

Added in API level 19
static val MESSAGE_COUNT: String

The number of messages in the conversation.

Type: INTEGER

Value: "msg_count"

SNIPPET

Added in API level 19
static val SNIPPET: String

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

Type: TEXT

Value: "snippet"

Properties

CONTENT_URI

Added in API level 19
static val CONTENT_URI: Uri!

The content:// style URL for this table.