Stay organized with collections
Save and categorize content based on your preferences.
PendingMessages
class PendingMessages : BaseColumns
Contains pending messages info.
Summary
Constants |
static String |
The time to do next retry.
|
static String |
The error code of sending/retrieving process.
|
static String |
The type of the error code.
|
static String |
The time we last tried to send or download the message.
|
static String |
The ID of the message to be sent or downloaded.
|
static String |
The type of the message to be sent or downloaded.
|
static String |
The type of transport protocol (MMS or SMS).
|
static String |
How many times we tried to send or download the message.
|
static String |
The subscription to which the message belongs to.
|
Constants
DUE_TIME
static val DUE_TIME: String
The time to do next retry.
Type: INTEGER (long)
Value: "due_time"
ERROR_CODE
static val ERROR_CODE: String
The error code of sending/retrieving process.
Type: INTEGER
Value: "err_code"
ERROR_TYPE
static val ERROR_TYPE: String
The type of the error code.
Type: INTEGER
Value: "err_type"
LAST_TRY
static val LAST_TRY: String
The time we last tried to send or download the message.
Type: INTEGER (long)
Value: "last_try"
MSG_ID
static val MSG_ID: String
The ID of the message to be sent or downloaded.
Type: INTEGER (long)
Value: "msg_id"
MSG_TYPE
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
static val PROTO_TYPE: String
The type of transport protocol (MMS or SMS).
Type: INTEGER
Value: "proto_type"
RETRY_INDEX
static val RETRY_INDEX: String
How many times we tried to send or download the message.
Type: INTEGER
Value: "retry_index"
SUBSCRIPTION_ID
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
static val CONTENT_URI: Uri!
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# Telephony.MmsSms.PendingMessages\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nPendingMessages\n===============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/provider/Telephony.MmsSms.PendingMessages \"View this page in Java\") \n\n```\nclass PendingMessages : BaseColumns\n```\n\n|---|--------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.provider.Telephony.MmsSms.PendingMessages](#) |\n\nContains pending messages info.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DUE_TIME](#DUE_TIME:kotlin.String) The time to do next retry. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ERROR_CODE](#ERROR_CODE:kotlin.String) The error code of sending/retrieving process. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ERROR_TYPE](#ERROR_TYPE:kotlin.String) The type of the error code. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [LAST_TRY](#LAST_TRY:kotlin.String) The time we last tried to send or download the message. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [MSG_ID](#MSG_ID:kotlin.String) The ID of the message to be sent or downloaded. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [MSG_TYPE](#MSG_TYPE:kotlin.String) The type of the message to be sent or downloaded. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [PROTO_TYPE](#PROTO_TYPE:kotlin.String) The type of transport protocol (MMS or SMS). |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [RETRY_INDEX](#RETRY_INDEX:kotlin.String) How many times we tried to send or download the message. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [SUBSCRIPTION_ID](#SUBSCRIPTION_ID:kotlin.String) The subscription to which the message belongs to. |\n\n| Inherited constants ||\n|---|---|\n| From class [BaseColumns](/reference/kotlin/android/provider/BaseColumns) |----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_COUNT](/reference/kotlin/android/provider/BaseColumns#_COUNT:kotlin.String) The count of rows in a directory. Type: INTEGER \u003cbr /\u003e | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_ID](/reference/kotlin/android/provider/BaseColumns#_ID:kotlin.String) The unique ID for a row. Type: INTEGER (long) \u003cbr /\u003e | ||\n\n| Properties ||\n|---------------------------------|----------------------------------------------------|\n| static [Uri](../net/Uri.html#)! | [CONTENT_URI](#CONTENT_URI:android.net.Uri) \u003cbr /\u003e |\n\nConstants\n---------\n\n### DUE_TIME\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val DUE_TIME: String\n```\n\nThe time to do next retry.\n\nType: INTEGER (long) \n\n Value: \"due_time\"\n\n### ERROR_CODE\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ERROR_CODE: String\n```\n\nThe error code of sending/retrieving process.\n\nType: INTEGER \n\n Value: \"err_code\"\n\n### ERROR_TYPE\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ERROR_TYPE: String\n```\n\nThe type of the error code.\n\nType: INTEGER \n\n Value: \"err_type\"\n\n### LAST_TRY\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val LAST_TRY: String\n```\n\nThe time we last tried to send or download the message.\n\nType: INTEGER (long) \n\n Value: \"last_try\"\n\n### MSG_ID\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val MSG_ID: String\n```\n\nThe ID of the message to be sent or downloaded.\n\nType: INTEGER (long) \n\n Value: \"msg_id\"\n\n### MSG_TYPE\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val MSG_TYPE: String\n```\n\nThe 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.\n\nType: INTEGER \n\n Value: \"msg_type\"\n\n### PROTO_TYPE\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val PROTO_TYPE: String\n```\n\nThe type of transport protocol (MMS or SMS).\n\nType: INTEGER \n\n Value: \"proto_type\"\n\n### RETRY_INDEX\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val RETRY_INDEX: String\n```\n\nHow many times we tried to send or download the message.\n\nType: INTEGER \n\n Value: \"retry_index\"\n\n### SUBSCRIPTION_ID\n\nAdded in [API level 22](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SUBSCRIPTION_ID: String\n```\n\nThe subscription to which the message belongs to. Its value will be \\\u003c 0 if the sub id cannot be determined.\n\nType: INTEGER (long) \n\n Value: \"pending_sub_id\"\n\nProperties\n----------\n\n### CONTENT_URI\n\nAdded in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CONTENT_URI: Uri!\n```"]]