Added in API level 19

Draft


class Draft : Telephony.BaseMmsColumns

Contains all MMS messages in the MMS app drafts folder.

Summary

Constants
static String

The default sort order for this table.

Inherited constants
String CONTENT_CLASS

The content-class of the message.

Type: INTEGER

String CONTENT_LOCATION

The Content-Location of the message.

Type: TEXT

String CONTENT_TYPE

The Content-Type of the message.

Type: TEXT

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

String DATE

The date the message was received.

Type: INTEGER (long)

String DATE_SENT

The date the message was sent.

Type: INTEGER (long)

String DELIVERY_REPORT

The delivery-report of the message.

Type: INTEGER

String DELIVERY_TIME

The delivery-time of the message.

Type: INTEGER

String EXPIRY

The expiry time of the message.

Type: INTEGER (long)

String LOCKED

Is the message locked?

Type: INTEGER (boolean)

String MESSAGE_BOX

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

Type: INTEGER

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.

Type: TEXT

String MESSAGE_ID

The Message-ID of the message.

Type: TEXT

String MESSAGE_SIZE

The size of the message.

Type: INTEGER

String MESSAGE_TYPE

The type of the message defined by MMS spec.

Type: INTEGER

String MMS_VERSION

The version of the specification that this message conforms to.

Type: INTEGER

String PRIORITY

The priority of the message.

Type: INTEGER

String READ

Has the message been read?

Type: INTEGER (boolean)

String READ_REPORT

The read-report of the message.

Type: INTEGER (boolean)

String READ_STATUS

The read-status of the message.

Type: INTEGER

String REPORT_ALLOWED

Is read report allowed?

Type: INTEGER (boolean)

String RESPONSE_STATUS

The response-status of the message.

Type: INTEGER

String RESPONSE_TEXT

The response-text of the message.

Type: TEXT

String RETRIEVE_STATUS

The retrieve-status of the message.

Type: INTEGER

String RETRIEVE_TEXT

The retrieve-text of the message.

Type: TEXT

String RETRIEVE_TEXT_CHARSET

The character set of the retrieve-text.

Type: INTEGER

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)

String STATUS

The status of the message.

Type: INTEGER

String SUBJECT

The subject of the message, if present.

Type: TEXT

String SUBJECT_CHARSET

The character set of the subject, if present.

Type: INTEGER

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)

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)

String THREAD_ID

The thread ID of the message.

Type: INTEGER (long)

String TRANSACTION_ID

The transaction-id of the message.

Type: TEXT

String _COUNT

The count of rows in a directory.

Type: INTEGER

String _ID

The unique ID for a row.

Type: INTEGER (long)

Properties
static Uri!

The content:// style URL for this table.

Constants

DEFAULT_SORT_ORDER

Added in API level 19
static val DEFAULT_SORT_ORDER: String

The default sort order for this table.

Value: "date DESC"

Properties

CONTENT_URI

Added in API level 19
static val CONTENT_URI: Uri!

The content:// style URL for this table.