Android APIs
public static final class

Telephony.MmsSms

extends Object
implements BaseColumns
java.lang.Object
   ↳ android.provider.Telephony.MmsSms

Class Overview

Contains all MMS and SMS messages.

Summary

Nested Classes
class Telephony.MmsSms.PendingMessages Contains pending messages info. 
Constants
int ERR_TYPE_GENERIC Error type: generic transient error.
int ERR_TYPE_GENERIC_PERMANENT Error type: permanent error (along with all higher error values).
int ERR_TYPE_MMS_PROTO_PERMANENT Error type: MMS protocol permanent error.
int ERR_TYPE_MMS_PROTO_TRANSIENT Error type: MMS protocol transient error.
int ERR_TYPE_SMS_PROTO_PERMANENT Error type: SMS protocol permanent error.
int ERR_TYPE_SMS_PROTO_TRANSIENT Error type: SMS protocol transient error.
int ERR_TYPE_TRANSPORT_FAILURE Error type: transport failure.
int MMS_PROTO MMS protocol type.
int NO_ERROR Error type: no error.
int SMS_PROTO SMS protocol type.
String TYPE_DISCRIMINATOR_COLUMN The column to distinguish SMS and MMS messages in query results.
[Expand]
Inherited Constants
From interface android.provider.BaseColumns
Fields
public static final Uri CONTENT_CONVERSATIONS_URI The content:// style URL for this table, by conversation.
public static final Uri CONTENT_DRAFT_URI The content:// style URL for draft messages in this table.
public static final Uri CONTENT_FILTER_BYPHONE_URI The content:// style URL for this table, by phone number.
public static final Uri CONTENT_LOCKED_URI The content:// style URL for locked messages in this table.
public static final Uri CONTENT_UNDELIVERED_URI The content:// style URL for undelivered messages in this table.
public static final Uri CONTENT_URI The content:// style URL for this table.
public static final Uri SEARCH_URI Pass in a query parameter called "pattern" which is the text to search for.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int ERR_TYPE_GENERIC

Added in API level 19

Error type: generic transient error.

Constant Value: 1 (0x00000001)

public static final int ERR_TYPE_GENERIC_PERMANENT

Added in API level 19

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

Constant Value: 10 (0x0000000a)

public static final int ERR_TYPE_MMS_PROTO_PERMANENT

Added in API level 19

Error type: MMS protocol permanent error.

Constant Value: 12 (0x0000000c)

public static final int ERR_TYPE_MMS_PROTO_TRANSIENT

Added in API level 19

Error type: MMS protocol transient error.

Constant Value: 3 (0x00000003)

public static final int ERR_TYPE_SMS_PROTO_PERMANENT

Added in API level 19

Error type: SMS protocol permanent error.

Constant Value: 11 (0x0000000b)

public static final int ERR_TYPE_SMS_PROTO_TRANSIENT

Added in API level 19

Error type: SMS protocol transient error.

Constant Value: 2 (0x00000002)

public static final int ERR_TYPE_TRANSPORT_FAILURE

Added in API level 19

Error type: transport failure.

Constant Value: 4 (0x00000004)

public static final int MMS_PROTO

Added in API level 19

MMS protocol type.

Constant Value: 1 (0x00000001)

public static final int NO_ERROR

Added in API level 19

Error type: no error.

Constant Value: 0 (0x00000000)

public static final int SMS_PROTO

Added in API level 19

SMS protocol type.

Constant Value: 0 (0x00000000)

public static final String TYPE_DISCRIMINATOR_COLUMN

Added in API level 19

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

Constant Value: "transport_type"

Fields

public static final Uri CONTENT_CONVERSATIONS_URI

Added in API level 19

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

public static final Uri CONTENT_DRAFT_URI

Added in API level 19

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

public static final Uri CONTENT_FILTER_BYPHONE_URI

Added in API level 19

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

public static final Uri CONTENT_LOCKED_URI

Added in API level 19

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

public static final Uri CONTENT_UNDELIVERED_URI

Added in API level 19

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

public static final Uri CONTENT_URI

Added in API level 19

The content:// style URL for this table.

public static final Uri SEARCH_URI

Added in API level 19

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.