# Telephony.MmsSms.PendingMessages

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

# PendingMessages

*** ** * ** ***

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

```
class PendingMessages : BaseColumns
```

|---|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                         ||
| ↳ | [android.provider.Telephony.MmsSms.PendingMessages](https://developer.android.com/reference/kotlin/android/provider/Telephony.MmsSms.PendingMessages#) |

Contains pending messages info.

## Summary

|                                                                                                                                          Constants                                                                                                                                          ||
|----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DUE_TIME](https://developer.android.com/reference/kotlin/android/provider/Telephony.MmsSms.PendingMessages#DUE_TIME:kotlin.String) The time to do next retry.                                      |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ERROR_CODE](https://developer.android.com/reference/kotlin/android/provider/Telephony.MmsSms.PendingMessages#ERROR_CODE:kotlin.String) The error code of sending/retrieving process.               |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ERROR_TYPE](https://developer.android.com/reference/kotlin/android/provider/Telephony.MmsSms.PendingMessages#ERROR_TYPE:kotlin.String) The type of the error code.                                 |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [LAST_TRY](https://developer.android.com/reference/kotlin/android/provider/Telephony.MmsSms.PendingMessages#LAST_TRY:kotlin.String) The time we last tried to send or download the message.         |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [MSG_ID](https://developer.android.com/reference/kotlin/android/provider/Telephony.MmsSms.PendingMessages#MSG_ID:kotlin.String) The ID of the message to be sent or downloaded.                     |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [MSG_TYPE](https://developer.android.com/reference/kotlin/android/provider/Telephony.MmsSms.PendingMessages#MSG_TYPE:kotlin.String) The type of the message to be sent or downloaded.               |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [PROTO_TYPE](https://developer.android.com/reference/kotlin/android/provider/Telephony.MmsSms.PendingMessages#PROTO_TYPE:kotlin.String) The type of transport protocol (MMS or SMS).                |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [RETRY_INDEX](https://developer.android.com/reference/kotlin/android/provider/Telephony.MmsSms.PendingMessages#RETRY_INDEX:kotlin.String) How many times we tried to send or download the message.  |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [SUBSCRIPTION_ID](https://developer.android.com/reference/kotlin/android/provider/Telephony.MmsSms.PendingMessages#SUBSCRIPTION_ID:kotlin.String) The subscription to which the message belongs to. |

| Inherited constants ||
|---|---|
| From class[BaseColumns](https://developer.android.com/reference/kotlin/android/provider/BaseColumns) |----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_COUNT](https://developer.android.com/reference/kotlin/android/provider/BaseColumns#_COUNT:kotlin.String) <br /> The count of rows in a directory. Type: INTEGER <br /> | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_ID](https://developer.android.com/reference/kotlin/android/provider/BaseColumns#_ID:kotlin.String) <br /> The unique ID for a row. Type: INTEGER (long) <br />         | ||

|                                                                                                               Properties                                                                                                               ||
|------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|
| static[Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html#)! | [CONTENT_URI](https://developer.android.com/reference/kotlin/android/provider/Telephony.MmsSms.PendingMessages#CONTENT_URI:android.net.Uri) <br /> |

## Constants

### DUE_TIME

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

```
static val DUE_TIME: String
```

The time to do next retry.

Type: INTEGER (long)  

    Value: "due_time"

### ERROR_CODE

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

```
static val ERROR_CODE: String
```

The error code of sending/retrieving process.

Type: INTEGER  

    Value: "err_code"

### ERROR_TYPE

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

```
static val ERROR_TYPE: String
```

The type of the error code.

Type: INTEGER  

    Value: "err_type"

### LAST_TRY

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

```
static val LAST_TRY: String
```

The time we last tried to send or download the message.

Type: INTEGER (long)  

    Value: "last_try"

### MSG_ID

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

```
static val MSG_ID: String
```

The ID of the message to be sent or downloaded.

Type: INTEGER (long)  

    Value: "msg_id"

### MSG_TYPE

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

```
static val MSG_TYPE: String
```

The type of the message to be sent or downloaded. This field is only valid for MM. For SM, its value is always set to 0.

Type: INTEGER  

    Value: "msg_type"

### PROTO_TYPE

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

```
static val PROTO_TYPE: String
```

The type of transport protocol (MMS or SMS).

Type: INTEGER  

    Value: "proto_type"

### RETRY_INDEX

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

```
static val RETRY_INDEX: String
```

How many times we tried to send or download the message.

Type: INTEGER  

    Value: "retry_index"

### SUBSCRIPTION_ID

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

```
static val SUBSCRIPTION_ID: String
```

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

Type: INTEGER (long)  

    Value: "pending_sub_id"

## Properties

### CONTENT_URI

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

```
static val CONTENT_URI: Uri!
```