/**@class android.provider.Telephony.Sms implements android.provider.BaseColumns implements android.provider.Telephony.TextBasedSmsColumns @extends java.lang.Object Contains all text-based SMS messages. */ var Sms = { /** The {@code content://} style URL for this table. */ CONTENT_URI : "null", /** The default sort order for this table. */ DEFAULT_SORT_ORDER : "date DESC", /**Used to determine the currently configured default SMS package. @param {Object {Context}} context context of the requesting application @return {String} package name for the default SMS package or null */ getDefaultSmsPackage : function( ) {}, /**Return cursor for table query. @hide */ query : function( ) {}, /**Return cursor for table query. @hide */ query : function( ) {}, /**Add an SMS to the given URI. @param {Object {ContentResolver}} resolver the content resolver to use @param {Object {Uri}} uri the URI to add the message to @param {String} address the address of the sender @param {String} body the body of the message @param {String} subject the pseudo-subject of the message @param {Number} date the timestamp for the message @param {Boolean} read true if the message has been read, false if not @param {Boolean} deliveryReport true if a delivery report was requested, false if not @return {Object {android.net.Uri}} the URI for the new message @hide */ addMessageToUri : function( ) {}, /**Add an SMS to the given URI. @param {Number} resolver the content resolver to use @param {Object {ContentResolver}} uri the URI to add the message to @param {Object {Uri}} address the address of the sender @param {String} body the body of the message @param {String} subject the psuedo-subject of the message @param {String} date the timestamp for the message @param {Number} read true if the message has been read, false if not @param {Boolean} deliveryReport true if a delivery report was requested, false if not @param {Boolean} subId the subscription which the message belongs to @return {Object {android.net.Uri}} the URI for the new message @hide */ addMessageToUri : function( ) {}, /**Add an SMS to the given URI with the specified thread ID. @param {Object {ContentResolver}} resolver the content resolver to use @param {Object {Uri}} uri the URI to add the message to @param {String} address the address of the sender @param {String} body the body of the message @param {String} subject the pseudo-subject of the message @param {Number} date the timestamp for the message @param {Boolean} read true if the message has been read, false if not @param {Boolean} deliveryReport true if a delivery report was requested, false if not @param {Number} threadId the thread_id of the message @return {Object {android.net.Uri}} the URI for the new message @hide */ addMessageToUri : function( ) {}, /**Add an SMS to the given URI with thread_id specified. @param {Number} resolver the content resolver to use @param {Object {ContentResolver}} uri the URI to add the message to @param {Object {Uri}} address the address of the sender @param {String} body the body of the message @param {String} subject the psuedo-subject of the message @param {String} date the timestamp for the message @param {Number} read true if the message has been read, false if not @param {Boolean} deliveryReport true if a delivery report was requested, false if not @param {Boolean} threadId the thread_id of the message @param {Number} subId the subscription which the message belongs to @return {Object {android.net.Uri}} the URI for the new message @hide */ addMessageToUri : function( ) {}, /**Move a message to the given folder. @param {Object {Context}} context the context to use @param {Object {Uri}} uri the message to move @param {Number} folder the folder to move to @return {Boolean} true if the operation succeeded @hide */ moveMessageToFolder : function( ) {}, /**Returns true iff the folder (message type) identifies an outgoing message. @hide */ isOutgoingFolder : function( ) {}, };