[ Web Proxy ]
URL:
Viewing: http://developer.android.com/reference/android/provider/Telephony.Sms.Conversations [Back]  [Original]

Telephony.Sms.Conversations  |  API reference  |  Android Developers Skip to main content
Essentials Design & Plan Develop Google Play Blog
Search:
Android Studio
Android Developers [Android Developers]
Stay organized with collections Save and categorize content based on your preferences.

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.

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 2026-08-03 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 2026-08-03 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page