MmsSms
class MmsSms : BaseColumns
kotlin.Any | |
↳ | android.provider.Telephony.MmsSms |
Contains all MMS and SMS messages.
Summary
Nested classes | |
---|---|
Contains pending messages info. |
Constants | |
---|---|
static Int |
Error type: generic transient error. |
static Int |
Error type: permanent error (along with all higher error values). |
static Int |
Error type: MMS protocol permanent error. |
static Int |
Error type: MMS protocol transient error. |
static Int |
Error type: SMS protocol permanent error. |
static Int |
Error type: SMS protocol transient error. |
static Int |
Error type: transport failure. |
static Int |
MMS protocol type. |
static Int |
Error type: no error. |
static Int |
SMS protocol type. |
static String |
The column to distinguish SMS and MMS messages in query results. |
Inherited constants | |
---|---|
Properties | |
---|---|
static Uri! |
The |
static Uri! |
The |
static Uri! |
The |
static Uri! |
The |
static Uri! |
The |
static Uri! |
The |
static Uri! |
Pass in a query parameter called "pattern" which is the text to search for. |
Constants
ERR_TYPE_GENERIC
static val ERR_TYPE_GENERIC: Int
Error type: generic transient error.
Value: 1
ERR_TYPE_GENERIC_PERMANENT
static val ERR_TYPE_GENERIC_PERMANENT: Int
Error type: permanent error (along with all higher error values).
Value: 10
ERR_TYPE_MMS_PROTO_PERMANENT
static val ERR_TYPE_MMS_PROTO_PERMANENT: Int
Error type: MMS protocol permanent error.
Value: 12
ERR_TYPE_MMS_PROTO_TRANSIENT
static val ERR_TYPE_MMS_PROTO_TRANSIENT: Int
Error type: MMS protocol transient error.
Value: 3
ERR_TYPE_SMS_PROTO_PERMANENT
static val ERR_TYPE_SMS_PROTO_PERMANENT: Int
Error type: SMS protocol permanent error.
Value: 11
ERR_TYPE_SMS_PROTO_TRANSIENT
static val ERR_TYPE_SMS_PROTO_TRANSIENT: Int
Error type: SMS protocol transient error.
Value: 2
ERR_TYPE_TRANSPORT_FAILURE
static val ERR_TYPE_TRANSPORT_FAILURE: Int
Error type: transport failure.
Value: 4
TYPE_DISCRIMINATOR_COLUMN
static val TYPE_DISCRIMINATOR_COLUMN: String
The column to distinguish SMS and MMS messages in query results.
Value: "transport_type"
Properties
CONTENT_CONVERSATIONS_URI
static val CONTENT_CONVERSATIONS_URI: Uri!
The content://
style URL for this table, by conversation.
CONTENT_DRAFT_URI
static val CONTENT_DRAFT_URI: Uri!
The content://
style URL for draft messages in this table.
CONTENT_FILTER_BYPHONE_URI
static val CONTENT_FILTER_BYPHONE_URI: Uri!
The content://
style URL for this table, by phone number.
CONTENT_LOCKED_URI
static val CONTENT_LOCKED_URI: Uri!
The content://
style URL for locked messages in this table.
This Uri
is used to check at most one locked message found in the union of MMS and SMS messages. Also this will return only _id column in response.
CONTENT_UNDELIVERED_URI
static val CONTENT_UNDELIVERED_URI: Uri!
The content://
style URL for undelivered messages in this table.
CONTENT_URI
static val CONTENT_URI: Uri!
The content://
style URL for this table.
SEARCH_URI
static val SEARCH_URI: Uri!
Pass in a query parameter called "pattern" which is the text to search for. The sort order is fixed to be: thread_id ASC, date DESC
.