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 |
|---|
Fields | |
|---|---|
public
static
final
Uri |
CONTENT_CONVERSATIONS_URI
The |
public
static
final
Uri |
CONTENT_DRAFT_URI
The |
public
static
final
Uri |
CONTENT_FILTER_BYPHONE_URI
The |
public
static
final
Uri |
CONTENT_LOCKED_URI
The |
public
static
final
Uri |
CONTENT_UNDELIVERED_URI
The |
public
static
final
Uri |
CONTENT_URI
The |
public
static
final
Uri |
SEARCH_URI
Pass in a query parameter called "pattern" which is the text to search for. |
Inherited methods | |
|---|---|
Constants
ERR_TYPE_GENERIC
public static final int ERR_TYPE_GENERIC
Error type: generic transient error.
Constant Value: 1 (0x00000001)
ERR_TYPE_GENERIC_PERMANENT
public static final int ERR_TYPE_GENERIC_PERMANENT
Error type: permanent error (along with all higher error values).
Constant Value: 10 (0x0000000a)
ERR_TYPE_MMS_PROTO_PERMANENT
public static final int ERR_TYPE_MMS_PROTO_PERMANENT
Error type: MMS protocol permanent error.
Constant Value: 12 (0x0000000c)
ERR_TYPE_MMS_PROTO_TRANSIENT
public static final int ERR_TYPE_MMS_PROTO_TRANSIENT
Error type: MMS protocol transient error.
Constant Value: 3 (0x00000003)
ERR_TYPE_SMS_PROTO_PERMANENT
public static final int ERR_TYPE_SMS_PROTO_PERMANENT
Error type: SMS protocol permanent error.
Constant Value: 11 (0x0000000b)
ERR_TYPE_SMS_PROTO_TRANSIENT
public static final int ERR_TYPE_SMS_PROTO_TRANSIENT
Error type: SMS protocol transient error.
Constant Value: 2 (0x00000002)
ERR_TYPE_TRANSPORT_FAILURE
public static final int ERR_TYPE_TRANSPORT_FAILURE
Error type: transport failure.
Constant Value: 4 (0x00000004)
MMS_PROTO
public static final int MMS_PROTO
MMS protocol type.
Constant Value: 1 (0x00000001)
NO_ERROR
public static final int NO_ERROR
Error type: no error.
Constant Value: 0 (0x00000000)
SMS_PROTO
public static final int SMS_PROTO
SMS protocol type.
Constant Value: 0 (0x00000000)
TYPE_DISCRIMINATOR_COLUMN
public static final String TYPE_DISCRIMINATOR_COLUMN
The column to distinguish SMS and MMS messages in query results.
Constant Value: "transport_type"
Fields
CONTENT_CONVERSATIONS_URI
public static final Uri CONTENT_CONVERSATIONS_URI
The content:// style URL for this table, by conversation.
CONTENT_DRAFT_URI
public static final Uri CONTENT_DRAFT_URI
The content:// style URL for draft messages in this table.
CONTENT_FILTER_BYPHONE_URI
public static final Uri CONTENT_FILTER_BYPHONE_URI
The content:// style URL for this table, by phone number.
CONTENT_LOCKED_URI
public static final Uri CONTENT_LOCKED_URI
The content:// style URL for locked messages in this table.
CONTENT_UNDELIVERED_URI
public static final Uri CONTENT_UNDELIVERED_URI
The content:// style URL for undelivered messages in this table.
CONTENT_URI
public static final Uri CONTENT_URI
The content:// style URL for this table.
SEARCH_URI
public static final 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.
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.