# Telephony.Sms.Draft

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Summary:[Constants](https://developer.android.com/reference/android/provider/Telephony.Sms.Draft#constants)\|[Inherited Constants](https://developer.android.com/reference/android/provider/Telephony.Sms.Draft#inhconstants)\|[Fields](https://developer.android.com/reference/android/provider/Telephony.Sms.Draft#lfields)\|[Inherited Methods](https://developer.android.com/reference/android/provider/Telephony.Sms.Draft#inhmethods)  

# Telephony.Sms.Draft

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/provider/Telephony.Sms.Draft "View this page in Kotlin")\|Java

`
public
static
final

class
Telephony.Sms.Draft
`  
`

extends `[Object](https://developer.android.com/reference/java/lang/Object)`


``


implements

`[BaseColumns](https://developer.android.com/reference/android/provider/BaseColumns)`,

`[Telephony.TextBasedSmsColumns](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns)`


`

|---|--------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.provider.Telephony.Sms.Draft |

<br />

*** ** * ** ***

Contains all draft text-based SMS messages in the SMS app.

## Summary

|                                                                                                          ### Constants                                                                                                           ||
|--------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [String](https://developer.android.com/reference/java/lang/String) | [DEFAULT_SORT_ORDER](https://developer.android.com/reference/android/provider/Telephony.Sms.Draft#DEFAULT_SORT_ORDER) The default sort order for this table. |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ### Inherited constants                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From interface[android.provider.BaseColumns](https://developer.android.com/reference/android/provider/BaseColumns) |--------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------| | [String](https://developer.android.com/reference/java/lang/String) | [_COUNT](https://developer.android.com/reference/android/provider/BaseColumns#_COUNT) The count of rows in a directory. | | [String](https://developer.android.com/reference/java/lang/String) | [_ID](https://developer.android.com/reference/android/provider/BaseColumns#_ID) The unique ID for a row.                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| From interface[android.provider.Telephony.TextBasedSmsColumns](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns) |--------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [String](https://developer.android.com/reference/java/lang/String) | [ADDRESS](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#ADDRESS) The address of the other party.                                                                     | | [String](https://developer.android.com/reference/java/lang/String) | [BODY](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#BODY) The body of the message.                                                                                  | | [String](https://developer.android.com/reference/java/lang/String) | [CREATOR](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#CREATOR) The identity of the sender of a sent message.                                                       | | [String](https://developer.android.com/reference/java/lang/String) | [DATE](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#DATE) The date the message was received.                                                                        | | [String](https://developer.android.com/reference/java/lang/String) | [DATE_SENT](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#DATE_SENT) The date the message was sent.                                                                  | | [String](https://developer.android.com/reference/java/lang/String) | [ERROR_CODE](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#ERROR_CODE) Error code associated with sending or receiving this message Type: INTEGER <br />             | | [String](https://developer.android.com/reference/java/lang/String) | [LOCKED](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#LOCKED) Is the message locked? Type: INTEGER (boolean) <br />                                                 | | `int`                                                              | [MESSAGE_TYPE_ALL](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#MESSAGE_TYPE_ALL) Message type: all messages.                                                       | | `int`                                                              | [MESSAGE_TYPE_DRAFT](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#MESSAGE_TYPE_DRAFT) Message type: drafts.                                                         | | `int`                                                              | [MESSAGE_TYPE_FAILED](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#MESSAGE_TYPE_FAILED) Message type: failed outgoing message.                                      | | `int`                                                              | [MESSAGE_TYPE_INBOX](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#MESSAGE_TYPE_INBOX) Message type: inbox.                                                          | | `int`                                                              | [MESSAGE_TYPE_OUTBOX](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#MESSAGE_TYPE_OUTBOX) Message type: outbox.                                                       | | `int`                                                              | [MESSAGE_TYPE_QUEUED](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#MESSAGE_TYPE_QUEUED) Message type: queued to send later.                                         | | `int`                                                              | [MESSAGE_TYPE_SENT](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#MESSAGE_TYPE_SENT) Message type: sent messages.                                                    | | [String](https://developer.android.com/reference/java/lang/String) | [PERSON](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#PERSON) The ID of the sender of the conversation, if present.                                                 | | [String](https://developer.android.com/reference/java/lang/String) | [PROTOCOL](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#PROTOCOL) The protocol identifier code.                                                                     | | [String](https://developer.android.com/reference/java/lang/String) | [READ](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#READ) Has the message been read? Type: INTEGER (boolean) <br />                                                 | | [String](https://developer.android.com/reference/java/lang/String) | [REPLY_PATH_PRESENT](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#REPLY_PATH_PRESENT) Is the`TP-Reply-Path`flag set? Type: BOOLEAN <br />                           | | [String](https://developer.android.com/reference/java/lang/String) | [SEEN](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#SEEN) Has the message been seen by the user? The "seen" flag determines whether we need to show a notification. | | [String](https://developer.android.com/reference/java/lang/String) | [SERVICE_CENTER](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#SERVICE_CENTER) The service center (SC) through which to send the message, if present.                | | [String](https://developer.android.com/reference/java/lang/String) | [STATUS](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#STATUS) `TP-Status`value for the message, or -1 if no status has been received.                               | | `int`                                                              | [STATUS_COMPLETE](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#STATUS_COMPLETE) TP-Status: complete.                                                                | | `int`                                                              | [STATUS_FAILED](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#STATUS_FAILED) TP-Status: failed.                                                                      | | `int`                                                              | [STATUS_NONE](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#STATUS_NONE) TP-Status: no status received.                                                              | | `int`                                                              | [STATUS_PENDING](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#STATUS_PENDING) TP-Status: pending.                                                                   | | [String](https://developer.android.com/reference/java/lang/String) | [SUBJECT](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#SUBJECT) The subject of the message, if present.                                                             | | [String](https://developer.android.com/reference/java/lang/String) | [SUBSCRIPTION_ID](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#SUBSCRIPTION_ID) The subscription to which the message belongs to.                                   | | [String](https://developer.android.com/reference/java/lang/String) | [THREAD_ID](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#THREAD_ID) The thread ID of the message.                                                                   | | [String](https://developer.android.com/reference/java/lang/String) | [TYPE](https://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns#TYPE) The type of message.                                                                                      | |

|                                                                                                               ### Fields                                                                                                                ||
|---------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|
| ` public static final `[Uri](https://developer.android.com/reference/android/net/Uri) | [CONTENT_URI](https://developer.android.com/reference/android/provider/Telephony.Sms.Draft#CONTENT_URI) The`content://`style URL for this table. |

| ### Inherited methods |
|-----------------------|---|
| From class` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object)` ` |--------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` `[Object](https://developer.android.com/reference/java/lang/Object)          | ` `[clone](https://developer.android.com/reference/java/lang/Object#clone())`() ` Creates and returns a copy of this object.                                                                                                                                                      | | ` boolean`                                                                     | ` `[equals](https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object))`(`[Object](https://developer.android.com/reference/java/lang/Object)` obj) ` Indicates whether some other object is "equal to" this one.                                           | | ` void`                                                                        | ` `[finalize](https://developer.android.com/reference/java/lang/Object#finalize())`() ` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.                                                          | | ` final `[Class](https://developer.android.com/reference/java/lang/Class)`<?>` | ` `[getClass](https://developer.android.com/reference/java/lang/Object#getClass())`() ` Returns the runtime class of this`Object`.                                                                                                                                                | | ` int`                                                                         | ` `[hashCode](https://developer.android.com/reference/java/lang/Object#hashCode())`() ` Returns a hash code value for the object.                                                                                                                                                 | | ` final void`                                                                  | ` `[notify](https://developer.android.com/reference/java/lang/Object#notify())`() ` Wakes up a single thread that is waiting on this object's monitor.                                                                                                                            | | ` final void`                                                                  | ` `[notifyAll](https://developer.android.com/reference/java/lang/Object#notifyAll())`() ` Wakes up all threads that are waiting on this object's monitor.                                                                                                                         | | ` `[String](https://developer.android.com/reference/java/lang/String)          | ` `[toString](https://developer.android.com/reference/java/lang/Object#toString())`() ` Returns a string representation of the object.                                                                                                                                            | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long,%20int))`(long timeoutMillis, int nanos) ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*, or until a certain amount of real time has elapsed. | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long))`(long timeoutMillis) ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*, or until a certain amount of real time has elapsed.                   | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait())`() ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*.                                                                                             | ||

## Constants

### DEFAULT_SORT_ORDER

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final String DEFAULT_SORT_ORDER
```

The default sort order for this table.

<br />

Constant Value: "date DESC"

## Fields

### CONTENT_URI

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final Uri CONTENT_URI
```

The`content://`style URL for this table.

<br />