TextBasedSmsColumns
interface TextBasedSmsColumns
android.provider.Telephony.TextBasedSmsColumns |
Base columns for tables that contain text-based SMSs.
Summary
Constants | |
---|---|
static String |
The address of the other party. |
static String |
The body of the message. |
static String |
The identity of the sender of a sent message. |
static String |
The date the message was received. |
static String |
The date the message was sent. |
static String |
Error code associated with sending or receiving this message |
static String |
Is the message locked? |
static Int |
Message type: all messages. |
static Int |
Message type: drafts. |
static Int |
Message type: failed outgoing message. |
static Int |
Message type: inbox. |
static Int |
Message type: outbox. |
static Int |
Message type: queued to send later. |
static Int |
Message type: sent messages. |
static String |
The ID of the sender of the conversation, if present. |
static String |
The protocol identifier code. |
static String |
Has the message been read? |
static String |
Is the |
static String |
Has the message been seen by the user? The "seen" flag determines whether we need to show a notification. |
static String |
The service center (SC) through which to send the message, if present. |
static String |
|
static Int |
TP-Status: complete. |
static Int |
TP-Status: failed. |
static Int |
TP-Status: no status received. |
static Int |
TP-Status: pending. |
static String |
The subject of the message, if present. |
static String |
The subscription to which the message belongs to. |
static String |
The thread ID of the message. |
static String |
The type of message. |
Constants
ADDRESS
static val ADDRESS: String
The address of the other party.
Type: TEXT
Value: "address"
BODY
static val BODY: String
The body of the message.
Type: TEXT
Value: "body"
CREATOR
static val CREATOR: String
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
Value: "creator"
DATE
static val DATE: String
The date the message was received.
Type: INTEGER (long)
Value: "date"
DATE_SENT
static val DATE_SENT: String
The date the message was sent.
Type: INTEGER (long)
Value: "date_sent"
ERROR_CODE
static val ERROR_CODE: String
Error code associated with sending or receiving this message
Type: INTEGER
Value: "error_code"
LOCKED
static val LOCKED: String
Is the message locked?
Type: INTEGER (boolean)
Value: "locked"
MESSAGE_TYPE_ALL
static val MESSAGE_TYPE_ALL: Int
Message type: all messages.
Value: 0
MESSAGE_TYPE_DRAFT
static val MESSAGE_TYPE_DRAFT: Int
Message type: drafts.
Value: 3
MESSAGE_TYPE_FAILED
static val MESSAGE_TYPE_FAILED: Int
Message type: failed outgoing message.
Value: 5
MESSAGE_TYPE_INBOX
static val MESSAGE_TYPE_INBOX: Int
Message type: inbox.
Value: 1
MESSAGE_TYPE_OUTBOX
static val MESSAGE_TYPE_OUTBOX: Int
Message type: outbox.
Value: 4
MESSAGE_TYPE_QUEUED
static val MESSAGE_TYPE_QUEUED: Int
Message type: queued to send later.
Value: 6
MESSAGE_TYPE_SENT
static val MESSAGE_TYPE_SENT: Int
Message type: sent messages.
Value: 2
PERSON
static val PERSON: String
The ID of the sender of the conversation, if present.
Type: INTEGER (reference to item in content://contacts/people
)
Value: "person"
PROTOCOL
static val PROTOCOL: String
The protocol identifier code.
Type: INTEGER
Value: "protocol"
READ
static val READ: String
Has the message been read?
Type: INTEGER (boolean)
Value: "read"
REPLY_PATH_PRESENT
static val REPLY_PATH_PRESENT: String
Is the TP-Reply-Path
flag set?
Type: BOOLEAN
Value: "reply_path_present"
SEEN
static val SEEN: String
Has the message been seen by the user? The "seen" flag determines whether we need to show a notification.
Type: INTEGER (boolean)
Value: "seen"
SERVICE_CENTER
static val SERVICE_CENTER: String
The service center (SC) through which to send the message, if present.
Type: TEXT
Value: "service_center"
STATUS
static val STATUS: String
TP-Status
value for the message, or -1 if no status has been received.
Type: INTEGER
Value: "status"
STATUS_NONE
static val STATUS_NONE: Int
TP-Status: no status received.
Value: -1
SUBJECT
static val SUBJECT: String
The subject of the message, if present.
Type: TEXT
Value: "subject"
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: "sub_id"
THREAD_ID
static val THREAD_ID: String
The thread ID of the message.
Type: INTEGER
Value: "thread_id"