public static final class Telephony.Sms.Outbox extends Object implements BaseColumns, Telephony.TextBasedSmsColumns
Modifier and Type | Field and Description |
---|---|
static Uri |
CONTENT_URI
The
content:// style URL for this table. |
static String |
DEFAULT_SORT_ORDER
The default sort order for this table.
|
_COUNT, _ID
ADDRESS, BODY, CREATOR, DATE, DATE_SENT, ERROR_CODE, LOCKED, MESSAGE_TYPE_ALL, MESSAGE_TYPE_DRAFT, MESSAGE_TYPE_FAILED, MESSAGE_TYPE_INBOX, MESSAGE_TYPE_OUTBOX, MESSAGE_TYPE_QUEUED, MESSAGE_TYPE_SENT, MTU, PERSON, PROTOCOL, READ, REPLY_PATH_PRESENT, SEEN, SERVICE_CENTER, STATUS, STATUS_COMPLETE, STATUS_FAILED, STATUS_NONE, STATUS_PENDING, SUBJECT, SUBSCRIPTION_ID, THREAD_ID, TYPE
Modifier and Type | Method and Description |
---|---|
static Uri |
addMessage(ContentResolver resolver,
String address,
String body,
String subject,
Long date,
boolean deliveryReport,
long threadId)
Add an SMS to the outbox.
|
static Uri |
addMessage(int subId,
ContentResolver resolver,
String address,
String body,
String subject,
Long date,
boolean deliveryReport,
long threadId)
Add an SMS to the Out box.
|
public static final Uri CONTENT_URI
content://
style URL for this table.public static final String DEFAULT_SORT_ORDER
public static Uri addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId)
resolver
- the content resolver to useaddress
- the address of the senderbody
- the body of the messagesubject
- the pseudo-subject of the messagedate
- the timestamp for the messagedeliveryReport
- whether a delivery report was requested for the messagepublic static Uri addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId)
resolver
- the content resolver to useaddress
- the address of the senderbody
- the body of the messagesubject
- the psuedo-subject of the messagedate
- the timestamp for the messagedeliveryReport
- whether a delivery report was requested for the messagesubId
- the subscription which the message belongs to