Telephony.BaseMmsColumns

public static interface Telephony.BaseMmsColumns
implements BaseColumns

android.provider.Telephony.BaseMmsColumns


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. MESSAGE_BOX_INBOX.

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.

Inherited constants

Constants

CONTENT_CLASS

Added in API level 19
public static final String CONTENT_CLASS

The content-class of the message.

Type: INTEGER

Constant Value: "ct_cls"

CONTENT_LOCATION

Added in API level 19
public static final String CONTENT_LOCATION

The Content-Location of the message.

Type: TEXT

Constant Value: "ct_l"

CONTENT_TYPE

Added in API level 19
public static final String CONTENT_TYPE

The Content-Type of the message.

Type: TEXT

Constant Value: "ct_t"

CREATOR

Added in API level 21
public static final String CREATOR

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"

DATE

Added in API level 19
public static final String DATE

The date the message was received.

Type: INTEGER (long)

Constant Value: "date"

DATE_SENT

Added in API level 19
public static final String DATE_SENT

The date the message was sent.

Type: INTEGER (long)

Constant Value: "date_sent"

DELIVERY_REPORT

Added in API level 19
public static final String DELIVERY_REPORT

The delivery-report of the message.

Type: INTEGER

Constant Value: "d_rpt"

DELIVERY_TIME

Added in API level 19
public static final String DELIVERY_TIME

The delivery-time of the message.

Type: INTEGER

Constant Value: "d_tm"

EXPIRY

Added in API level 19
public static final String EXPIRY

The expiry time of the message.

Type: INTEGER (long)

Constant Value: "exp"

LOCKED

Added in API level 19
public static final String LOCKED

Is the message locked?

Type: INTEGER (boolean)

Constant Value: "locked"

MESSAGE_BOX

Added in API level 19
public static final String MESSAGE_BOX

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

Type: INTEGER

Constant Value: "msg_box"

MESSAGE_BOX_ALL

Added in API level 19
public static final int MESSAGE_BOX_ALL

Message box: all messages.

Constant Value: 0 (0x00000000)

MESSAGE_BOX_DRAFTS

Added in API level 19
public static final int MESSAGE_BOX_DRAFTS

Message box: drafts.

Constant Value: 3 (0x00000003)

MESSAGE_BOX_FAILED

Added in API level 21
public static final int MESSAGE_BOX_FAILED

Message box: failed.

Constant Value: 5 (0x00000005)

MESSAGE_BOX_INBOX

Added in API level 19
public static final int MESSAGE_BOX_INBOX

Message box: inbox.

Constant Value: 1 (0x00000001)

MESSAGE_BOX_OUTBOX

Added in API level 19
public static final int MESSAGE_BOX_OUTBOX

Message box: outbox.

Constant Value: 4 (0x00000004)

MESSAGE_BOX_SENT

Added in API level 19
public static final int MESSAGE_BOX_SENT

Message box: sent messages.

Constant Value: 2 (0x00000002)

MESSAGE_CLASS

Added in API level 19
public static final String MESSAGE_CLASS

The class of the message.

Type: TEXT

Constant Value: "m_cls"

MESSAGE_ID

Added in API level 19
public static final String MESSAGE_ID

The Message-ID of the message.

Type: TEXT

Constant Value: "m_id"

MESSAGE_SIZE

Added in API level 19
public static final String MESSAGE_SIZE

The size of the message.

Type: INTEGER

Constant Value: "m_size"

MESSAGE_TYPE

Added in API level 19
public static final String MESSAGE_TYPE

The type of the message defined by MMS spec.

Type: INTEGER

Constant Value: "m_type"

MMS_VERSION

Added in API level 19
public static final String MMS_VERSION

The version of the specification that this message conforms to.

Type: INTEGER

Constant Value: "v"

PRIORITY

Added in API level 19
public static final String PRIORITY

The priority of the message.

Type: INTEGER

Constant Value: "pri"

READ

Added in API level 19
public static final String READ

Has the message been read?

Type: INTEGER (boolean)

Constant Value: "read"

READ_REPORT

Added in API level 19
public static final String READ_REPORT

The read-report of the message.

Type: INTEGER (boolean)

Constant Value: "rr"

READ_STATUS

Added in API level 19
public static final String READ_STATUS

The read-status of the message.

Type: INTEGER

Constant Value: "read_status"

REPORT_ALLOWED

Added in API level 19
public static final String REPORT_ALLOWED

Is read report allowed?

Type: INTEGER (boolean)

Constant Value: "rpt_a"

RESPONSE_STATUS

Added in API level 19
public static final String RESPONSE_STATUS

The response-status of the message.

Type: INTEGER

Constant Value: "resp_st"

RESPONSE_TEXT

Added in API level 19
public static final String RESPONSE_TEXT

The response-text of the message.

Type: TEXT

Constant Value: "resp_txt"

RETRIEVE_STATUS

Added in API level 19
public static final String RETRIEVE_STATUS

The retrieve-status of the message.

Type: INTEGER

Constant Value: "retr_st"

RETRIEVE_TEXT

Added in API level 19
public static final String RETRIEVE_TEXT

The retrieve-text of the message.

Type: TEXT

Constant Value: "retr_txt"

RETRIEVE_TEXT_CHARSET

Added in API level 19
public static final String RETRIEVE_TEXT_CHARSET

The character set of the retrieve-text.

Type: INTEGER

Constant Value: "retr_txt_cs"

SEEN

Added in API level 19
public static final String SEEN

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"

STATUS

Added in API level 19
public static final String STATUS

The status of the message.

Type: INTEGER

Constant Value: "st"

SUBJECT

Added in API level 19
public static final String SUBJECT

The subject of the message, if present.

Type: TEXT

Constant Value: "sub"

SUBJECT_CHARSET

Added in API level 19
public static final String SUBJECT_CHARSET

The character set of the subject, if present.

Type: INTEGER

Constant Value: "sub_cs"

SUBSCRIPTION_ID

Added in API level 22
public static final String SUBSCRIPTION_ID

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"

TEXT_ONLY

Added in API level 19
public static final String TEXT_ONLY

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"

THREAD_ID

Added in API level 19
public static final String THREAD_ID

The thread ID of the message.

Type: INTEGER (long)

Constant Value: "thread_id"

TRANSACTION_ID

Added in API level 19
public static final String TRANSACTION_ID

The transaction-id of the message.

Type: TEXT

Constant Value: "tr_id"