Android APIs
public static interface

Telephony.BaseMmsColumns

implements BaseColumns
android.provider.Telephony.BaseMmsColumns
Known Indirect Subclasses

Class Overview

Base columns for tables that contain MMSs.

Summary

Constants
String CONTENT_CLASS The content-class of the message.
String CONTENT_LOCATION The Content-Location of the message.
String CONTENT_TYPE The Content-Type of the message.
String CREATOR The identity of the sender of a sent message.
String DATE The date the message was received.
String DATE_SENT The date the message was sent.
String DELIVERY_REPORT The delivery-report of the message.
String DELIVERY_TIME The delivery-time of the message.
String EXPIRY The expiry time of the message.
String LOCKED Is the message locked?

Type: INTEGER (boolean)

String MESSAGE_BOX The box which the message belongs to, e.g.
int MESSAGE_BOX_ALL Message box: all messages.
int MESSAGE_BOX_DRAFTS Message box: drafts.
int MESSAGE_BOX_FAILED Message box: failed.
int MESSAGE_BOX_INBOX Message box: inbox.
int MESSAGE_BOX_OUTBOX Message box: outbox.
int MESSAGE_BOX_SENT Message box: sent messages.
String MESSAGE_CLASS The class of the message.
String MESSAGE_ID The Message-ID of the message.
String MESSAGE_SIZE The size of the message.
String MESSAGE_TYPE The type of the message defined by MMS spec.
String MMS_VERSION The version of the specification that this message conforms to.
String PRIORITY The priority of the message.
String READ Has the message been read?

Type: INTEGER (boolean)

String READ_REPORT The read-report of the message.
String READ_STATUS The read-status of the message.
String REPORT_ALLOWED Is read report allowed?

Type: INTEGER (boolean)

String RESPONSE_STATUS The response-status of the message.
String RESPONSE_TEXT The response-text of the message.
String RETRIEVE_STATUS The retrieve-status of the message.
String RETRIEVE_TEXT The retrieve-text of the message.
String RETRIEVE_TEXT_CHARSET The character set of the retrieve-text.
String SEEN Has the message been seen by the user? The "seen" flag determines whether we need to show a new message notification.
String STATUS The status of the message.
String SUBJECT The subject of the message, if present.
String SUBJECT_CHARSET The character set of the subject, if present.
String SUBSCRIPTION_ID The subscription to which the message belongs to.
String TEXT_ONLY Does the message have only a text part (can also have a subject) with no picture, slideshow, sound, etc.
String THREAD_ID The thread ID of the message.
String TRANSACTION_ID The transaction-id of the message.
[Expand]
Inherited Constants
From interface android.provider.BaseColumns

Constants

public static final String CONTENT_CLASS

Added in API level 19

The content-class of the message.

Type: INTEGER

Constant Value: "ct_cls"

public static final String CONTENT_LOCATION

Added in API level 19

The Content-Location of the message.

Type: TEXT

Constant Value: "ct_l"

public static final String CONTENT_TYPE

Added in API level 19

The Content-Type of the message.

Type: TEXT

Constant Value: "ct_t"

public static final String CREATOR

Added in API level 21

The identity of the sender of a sent message. It is usually the package name of the app which sends the message.

Note: This column is read-only. It is set by the provider and can not be changed by apps.

Type: TEXT

Constant Value: "creator"

public static final String DATE

Added in API level 19

The date the message was received.

Type: INTEGER (long)

Constant Value: "date"

public static final String DATE_SENT

Added in API level 19

The date the message was sent.

Type: INTEGER (long)

Constant Value: "date_sent"

public static final String DELIVERY_REPORT

Added in API level 19

The delivery-report of the message.

Type: INTEGER

Constant Value: "d_rpt"

public static final String DELIVERY_TIME

Added in API level 19

The delivery-time of the message.

Type: INTEGER

Constant Value: "d_tm"

public static final String EXPIRY

Added in API level 19

The expiry time of the message.

Type: INTEGER (long)

Constant Value: "exp"

public static final String LOCKED

Added in API level 19

Is the message locked?

Type: INTEGER (boolean)

Constant Value: "locked"

public static final String MESSAGE_BOX

Added in API level 19

The box which the message belongs to, e.g. MESSAGE_BOX_INBOX.

Type: INTEGER

Constant Value: "msg_box"

public static final int MESSAGE_BOX_ALL

Added in API level 19

Message box: all messages.

Constant Value: 0 (0x00000000)

public static final int MESSAGE_BOX_DRAFTS

Added in API level 19

Message box: drafts.

Constant Value: 3 (0x00000003)

public static final int MESSAGE_BOX_FAILED

Added in API level 21

Message box: failed.

Constant Value: 5 (0x00000005)

public static final int MESSAGE_BOX_INBOX

Added in API level 19

Message box: inbox.

Constant Value: 1 (0x00000001)

public static final int MESSAGE_BOX_OUTBOX

Added in API level 19

Message box: outbox.

Constant Value: 4 (0x00000004)

public static final int MESSAGE_BOX_SENT

Added in API level 19

Message box: sent messages.

Constant Value: 2 (0x00000002)

public static final String MESSAGE_CLASS

Added in API level 19

The class of the message.

Type: TEXT

Constant Value: "m_cls"

public static final String MESSAGE_ID

Added in API level 19

The Message-ID of the message.

Type: TEXT

Constant Value: "m_id"

public static final String MESSAGE_SIZE

Added in API level 19

The size of the message.

Type: INTEGER

Constant Value: "m_size"

public static final String MESSAGE_TYPE

Added in API level 19

The type of the message defined by MMS spec.

Type: INTEGER

Constant Value: "m_type"

public static final String MMS_VERSION

Added in API level 19

The version of the specification that this message conforms to.

Type: INTEGER

Constant Value: "v"

public static final String PRIORITY

Added in API level 19

The priority of the message.

Type: INTEGER

Constant Value: "pri"

public static final String READ

Added in API level 19

Has the message been read?

Type: INTEGER (boolean)

Constant Value: "read"

public static final String READ_REPORT

Added in API level 19

The read-report of the message.

Type: INTEGER (boolean)

Constant Value: "rr"

public static final String READ_STATUS

Added in API level 19

The read-status of the message.

Type: INTEGER

Constant Value: "read_status"

public static final String REPORT_ALLOWED

Added in API level 19

Is read report allowed?

Type: INTEGER (boolean)

Constant Value: "rpt_a"

public static final String RESPONSE_STATUS

Added in API level 19

The response-status of the message.

Type: INTEGER

Constant Value: "resp_st"

public static final String RESPONSE_TEXT

Added in API level 19

The response-text of the message.

Type: TEXT

Constant Value: "resp_txt"

public static final String RETRIEVE_STATUS

Added in API level 19

The retrieve-status of the message.

Type: INTEGER

Constant Value: "retr_st"

public static final String RETRIEVE_TEXT

Added in API level 19

The retrieve-text of the message.

Type: TEXT

Constant Value: "retr_txt"

public static final String RETRIEVE_TEXT_CHARSET

Added in API level 19

The character set of the retrieve-text.

Type: INTEGER

Constant Value: "retr_txt_cs"

public static final String SEEN

Added in API level 19

Has the message been seen by the user? The "seen" flag determines whether we need to show a new message notification.

Type: INTEGER (boolean)

Constant Value: "seen"

public static final String STATUS

Added in API level 19

The status of the message.

Type: INTEGER

Constant Value: "st"

public static final String SUBJECT

Added in API level 19

The subject of the message, if present.

Type: TEXT

Constant Value: "sub"

public static final String SUBJECT_CHARSET

Added in API level 19

The character set of the subject, if present.

Type: INTEGER

Constant Value: "sub_cs"

public static final String SUBSCRIPTION_ID

Added in API level 22

The subscription to which the message belongs to. Its value will be < 0 if the sub id cannot be determined.

Type: INTEGER (long)

Constant Value: "sub_id"

public static final String TEXT_ONLY

Added in API level 19

Does the message have only a text part (can also have a subject) with no picture, slideshow, sound, etc. parts?

Type: INTEGER (boolean)

Constant Value: "text_only"

public static final String THREAD_ID

Added in API level 19

The thread ID of the message.

Type: INTEGER (long)

Constant Value: "thread_id"

public static final String TRANSACTION_ID

Added in API level 19

The transaction-id of the message.

Type: TEXT

Constant Value: "tr_id"