public final class

ImsSMSDispatcher

extends SMSDispatcher
java.lang.Object
   ↳ android.os.Handler
     ↳ com.android.internal.telephony.SMSDispatcher
       ↳ com.android.internal.telephony.htcims.ImsSMSDispatcher

Summary

[Expand]
Inherited Constants
From class com.android.internal.telephony.SMSDispatcher
[Expand]
Inherited Fields
From class com.android.internal.telephony.SMSDispatcher
Public Constructors
ImsSMSDispatcher(PhoneBase phone, SmsStorageMonitor storageMonitor, SmsUsageMonitor usageMonitor)
+[hTC_MSG]Kelvin@20111205, porting VZW customized functions ImsSMSDispatcher(PhoneBase phone) { super(phone, IMS_SMS_Dispatcher, null); //** add new source code
Public Methods
SmsMessageBase.TextEncodingDetails calculateLength(CharSequence messageBody, boolean use7bitOnly)
int dispatchMessage(SmsMessageBase smsb)
void dispose()
void handleMessage(Message msg)
void handleStatusReport(AsyncResult ar)
Called when a status report is received.
void sendData(String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent)
void sendMultipartData(String destAddr, String scAddr, int destPort, ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents, Bundle bundle)
void sendMultipartSms(SMSDispatcher.SmsTracker tracker)
Send the multi-part SMS based on multipart Sms tracker
void sendMultipartText(String destinationAddress, String scAddress, ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents, Bundle bundle)
void sendSms(SMSDispatcher.SmsTracker tracker, boolean bFirstOfAll, boolean bLastOfAll)
void sendText(String destAddr, String scAddr, String text, PendingIntent sentIntent, PendingIntent deliveryIntent, Bundle bundle)
Protected Methods
void acknowledgeLastIncomingSms(boolean success, int result, Message response)
void activateCellBroadcastSms(int activate, Message response)
void getCellBroadcastSmsConfig(Message response)
String getFormat()
void log(String msg)
void sendMultipartText(String destinationAddress, String scAddress, ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents)
void setCellBroadcastConfig(int[] configValuesArray, Message response)
[Expand]
Inherited Methods
From class com.android.internal.telephony.SMSDispatcher
From class android.os.Handler
From class java.lang.Object

Public Constructors

public ImsSMSDispatcher (PhoneBase phone, SmsStorageMonitor storageMonitor, SmsUsageMonitor usageMonitor)

+[hTC_MSG]Kelvin@20111205, porting VZW customized functions ImsSMSDispatcher(PhoneBase phone) { super(phone, IMS_SMS_Dispatcher, null); //** add new source code

Public Methods

public SmsMessageBase.TextEncodingDetails calculateLength (CharSequence messageBody, boolean use7bitOnly)

public int dispatchMessage (SmsMessageBase smsb)

public void dispose ()

Since: API Level

public void handleMessage (Message msg)

Since: API Level

public void handleStatusReport (AsyncResult ar)

Called when a status report is received. This should correspond to a previously successful SEND.

Parameters
ar AsyncResult passed into the message handler. ar.result should be a String representing the status report PDU, as ASCII hex.

public void sendData (String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent)

public void sendMultipartData (String destAddr, String scAddr, int destPort, ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents, Bundle bundle)

public void sendMultipartSms (SMSDispatcher.SmsTracker tracker)

Send the multi-part SMS based on multipart Sms tracker

Parameters
tracker holds the multipart Sms tracker ready to be sent

public void sendMultipartText (String destinationAddress, String scAddress, ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents, Bundle bundle)

public void sendSms (SMSDispatcher.SmsTracker tracker, boolean bFirstOfAll, boolean bLastOfAll)

public void sendText (String destAddr, String scAddr, String text, PendingIntent sentIntent, PendingIntent deliveryIntent, Bundle bundle)

Protected Methods

protected void acknowledgeLastIncomingSms (boolean success, int result, Message response)

protected void activateCellBroadcastSms (int activate, Message response)

protected void getCellBroadcastSmsConfig (Message response)

protected String getFormat ()

protected void log (String msg)

protected void sendMultipartText (String destinationAddress, String scAddress, ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents)

protected void setCellBroadcastConfig (int[] configValuesArray, Message response)