Skip to content

Most visited

Recently visited

navigation
Added in API level 19

Telephony.MmsSms

public static final class Telephony.MmsSms
extends Object implements BaseColumns

java.lang.Object
   ↳ android.provider.Telephony.MmsSms


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.

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.

Inherited methods

From class java.lang.Object

Constants

ERR_TYPE_GENERIC

Added in API level 19
int ERR_TYPE_GENERIC

Error type: generic transient error.

Constant Value: 1 (0x00000001)

ERR_TYPE_GENERIC_PERMANENT

Added in API level 19
int ERR_TYPE_GENERIC_PERMANENT

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

Constant Value: 10 (0x0000000a)

ERR_TYPE_MMS_PROTO_PERMANENT

Added in API level 19
int ERR_TYPE_MMS_PROTO_PERMANENT

Error type: MMS protocol permanent error.

Constant Value: 12 (0x0000000c)

ERR_TYPE_MMS_PROTO_TRANSIENT

Added in API level 19
int ERR_TYPE_MMS_PROTO_TRANSIENT

Error type: MMS protocol transient error.

Constant Value: 3 (0x00000003)

ERR_TYPE_SMS_PROTO_PERMANENT

Added in API level 19
int ERR_TYPE_SMS_PROTO_PERMANENT

Error type: SMS protocol permanent error.

Constant Value: 11 (0x0000000b)

ERR_TYPE_SMS_PROTO_TRANSIENT

Added in API level 19
int ERR_TYPE_SMS_PROTO_TRANSIENT

Error type: SMS protocol transient error.

Constant Value: 2 (0x00000002)

ERR_TYPE_TRANSPORT_FAILURE

Added in API level 19
int ERR_TYPE_TRANSPORT_FAILURE

Error type: transport failure.

Constant Value: 4 (0x00000004)

MMS_PROTO

Added in API level 19
int MMS_PROTO

MMS protocol type.

Constant Value: 1 (0x00000001)

NO_ERROR

Added in API level 19
int NO_ERROR

Error type: no error.

Constant Value: 0 (0x00000000)

SMS_PROTO

Added in API level 19
int SMS_PROTO

SMS protocol type.

Constant Value: 0 (0x00000000)

TYPE_DISCRIMINATOR_COLUMN

Added in API level 19
String TYPE_DISCRIMINATOR_COLUMN

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

Constant Value: "transport_type"

Fields

CONTENT_CONVERSATIONS_URI

Added in API level 19
Uri CONTENT_CONVERSATIONS_URI

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

CONTENT_DRAFT_URI

Added in API level 19
Uri CONTENT_DRAFT_URI

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

CONTENT_FILTER_BYPHONE_URI

Added in API level 19
Uri CONTENT_FILTER_BYPHONE_URI

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

CONTENT_LOCKED_URI

Added in API level 19
Uri CONTENT_LOCKED_URI

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

CONTENT_UNDELIVERED_URI

Added in API level 19
Uri CONTENT_UNDELIVERED_URI

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

CONTENT_URI

Added in API level 19
Uri CONTENT_URI

The content:// style URL for this table.

SEARCH_URI

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

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.