Added in API level 19

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 content:// style URL for this table, by conversation.

static Uri!

The content:// style URL for draft messages in this table.

static Uri!

The content:// style URL for this table, by phone number.

static Uri!

The content:// style URL for locked messages in this table.

static Uri!

The content:// style URL for undelivered messages in this table.

static Uri!

The content:// style URL for this table.

static Uri!

Pass in a query parameter called "pattern" which is the text to search for.

Constants

ERR_TYPE_GENERIC

Added in API level 19
static val ERR_TYPE_GENERIC: Int

Error type: generic transient error.

Value: 1

ERR_TYPE_GENERIC_PERMANENT

Added in API level 19
static val ERR_TYPE_GENERIC_PERMANENT: Int

Error type: permanent error (along with all higher error values).

Value: 10

ERR_TYPE_MMS_PROTO_PERMANENT

Added in API level 19
static val ERR_TYPE_MMS_PROTO_PERMANENT: Int

Error type: MMS protocol permanent error.

Value: 12

ERR_TYPE_MMS_PROTO_TRANSIENT

Added in API level 19
static val ERR_TYPE_MMS_PROTO_TRANSIENT: Int

Error type: MMS protocol transient error.

Value: 3

ERR_TYPE_SMS_PROTO_PERMANENT

Added in API level 19
static val ERR_TYPE_SMS_PROTO_PERMANENT: Int

Error type: SMS protocol permanent error.

Value: 11

ERR_TYPE_SMS_PROTO_TRANSIENT

Added in API level 19
static val ERR_TYPE_SMS_PROTO_TRANSIENT: Int

Error type: SMS protocol transient error.

Value: 2

ERR_TYPE_TRANSPORT_FAILURE

Added in API level 19
static val ERR_TYPE_TRANSPORT_FAILURE: Int

Error type: transport failure.

Value: 4

MMS_PROTO

Added in API level 19
static val MMS_PROTO: Int

MMS protocol type.

Value: 1

NO_ERROR

Added in API level 19
static val NO_ERROR: Int

Error type: no error.

Value: 0

SMS_PROTO

Added in API level 19
static val SMS_PROTO: Int

SMS protocol type.

Value: 0

TYPE_DISCRIMINATOR_COLUMN

Added in API level 19
static val TYPE_DISCRIMINATOR_COLUMN: String

The column to distinguish SMS and MMS messages in query results.

Value: "transport_type"

Properties

CONTENT_CONVERSATIONS_URI

Added in API level 19
static val CONTENT_CONVERSATIONS_URI: Uri!

The content:// style URL for this table, by conversation.

CONTENT_DRAFT_URI

Added in API level 19
static val CONTENT_DRAFT_URI: Uri!

The content:// style URL for draft messages in this table.

CONTENT_FILTER_BYPHONE_URI

Added in API level 19
static val CONTENT_FILTER_BYPHONE_URI: Uri!

The content:// style URL for this table, by phone number.

CONTENT_LOCKED_URI

Added in API level 19
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

Added in API level 19
static val CONTENT_UNDELIVERED_URI: Uri!

The content:// style URL for undelivered messages in this table.

CONTENT_URI

Added in API level 19
static val CONTENT_URI: Uri!

The content:// style URL for this table.

SEARCH_URI

Added in API level 19
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.