android.provider
Class Telephony.Sms.Outbox
java.lang.Object
android.provider.Telephony.Sms.Outbox
- All Implemented Interfaces:
- BaseColumns, Telephony.TextBasedSmsColumns
- Enclosing class:
- Telephony.Sms
public static final class Telephony.Sms.Outbox
- extends Object
- implements BaseColumns, Telephony.TextBasedSmsColumns
Contains all pending outgoing text based SMS messages.
| Fields inherited from interface android.provider.Telephony.TextBasedSmsColumns |
ADDRESS, BODY, DATE, MESSAGE_TYPE_ALL, MESSAGE_TYPE_DRAFT, MESSAGE_TYPE_FAILED, MESSAGE_TYPE_INBOX, MESSAGE_TYPE_OUTBOX, MESSAGE_TYPE_QUEUED, MESSAGE_TYPE_SENT, PERSON, PERSON_ID, PROTOCOL, READ, REPLY_PATH_PRESENT, SERVICE_CENTER, STATUS, STATUS_COMPLETE, STATUS_FAILED, STATUS_NONE, STATUS_PENDING, SUBJECT, THREAD_ID, TYPE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTENT_URI
public static final Uri CONTENT_URI
- The content:// style URL for this table
DEFAULT_SORT_ORDER
public static final String DEFAULT_SORT_ORDER
- The default sort order for this table
- See Also:
- Constant Field Values
Telephony.Sms.Outbox
public Telephony.Sms.Outbox()
addMessage
public static Uri addMessage(ContentResolver resolver,
String address,
String body,
String subject,
Long date,
boolean deliveryReport,
long threadId)
- Add an SMS to the Out box.
- Parameters:
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 message
- Returns:
- the URI for the new message
Please submit a feedback, bug or feature