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 |
Constants
DEFAULT_SORT_ORDER
static val DEFAULT_SORT_ORDER: String
The default sort order for this table.
Value: "date DESC"
MESSAGE_COUNT
static val MESSAGE_COUNT: String
The number of messages in the conversation.
Type: INTEGER
Value: "msg_count"
SNIPPET
static val SNIPPET: String
The first 45 characters of the body of the most recent message.
Type: TEXT
Value: "snippet"
Properties
CONTENT_URI
static val CONTENT_URI: Uri!
The content://
style URL for this table.