public static class SMSDispatcher.SmsTracker extends Object
Modifier and Type | Field and Description |
---|---|
PackageInfo |
mAppInfo |
PendingIntent |
mDeliveryIntent |
String |
mDestAddress |
boolean |
mExpectMore |
int |
mImsRetry |
int |
mMessageRef |
Uri |
mMessageUri |
int |
mRetryCount |
PendingIntent |
mSentIntent |
SmsHeader |
mSmsHeader |
Modifier and Type | Method and Description |
---|---|
HashMap<String,Object> |
getData() |
void |
onFailed(Context context,
int error,
int errorCode)
Handle a failure of a single part message or a part of a multipart message
|
void |
onSent(Context context)
Handle the sent of a single part message or a part of a multipart message
|
void |
updateSentMessageStatus(Context context,
int status)
Update the status of this message if we persisted it
|
public int mRetryCount
public int mImsRetry
public int mMessageRef
public boolean mExpectMore
public final PendingIntent mSentIntent
public final PendingIntent mDeliveryIntent
public final PackageInfo mAppInfo
public final String mDestAddress
public final SmsHeader mSmsHeader
public Uri mMessageUri
public void updateSentMessageStatus(Context context, int status)
public void onFailed(Context context, int error, int errorCode)
context
- The Contexterror
- The error to send back witherrorCode
- public void onSent(Context context)
context
- The Context