Build 1.0_r1(from source)

android.provider
Class Telephony.Sms.Outbox

java.lang.Object
  extended by 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.


Field Summary
static Uri CONTENT_URI
          The content:// style URL for this table
static String DEFAULT_SORT_ORDER
          The default sort order for this table
 
Fields inherited from interface android.provider.BaseColumns
_COUNT, _ID
 
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
 
Constructor Summary
Telephony.Sms.Outbox()
           
 
Method Summary
static Uri addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId)
          Add an SMS to the Out box.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Telephony.Sms.Outbox

public Telephony.Sms.Outbox()
Method Detail

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 use
address - the address of the sender
body - the body of the message
subject - the psuedo-subject of the message
date - the timestamp for the message
deliveryReport - whether a delivery report was requested for the message
Returns:
the URI for the new message

Build 1.0_r1(from source)

Please submit a feedback, bug or feature