@Implements(value=android.telephony.SmsManager.class,
minSdk=18)
public class ShadowSmsManager
extends java.lang.Object
SmsManager.| Modifier and Type | Class and Description |
|---|---|
static class |
ShadowSmsManager.DataMessageParams |
static class |
ShadowSmsManager.TextMultipartParams |
static class |
ShadowSmsManager.TextSmsParams |
| Constructor and Description |
|---|
ShadowSmsManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearLastSentDataMessageParams()
Non-Android accessor.
|
void |
clearLastSentMultipartTextMessageParams()
Non-Android accessor.
|
void |
clearLastSentTextMessageParams()
Non-Android accessor.
|
static android.telephony.SmsManager |
getDefault() |
ShadowSmsManager.DataMessageParams |
getLastSentDataMessageParams()
Non-Android accessor.
|
ShadowSmsManager.TextMultipartParams |
getLastSentMultipartTextMessageParams()
Non-Android accessor.
|
ShadowSmsManager.TextSmsParams |
getLastSentTextMessageParams()
Non-Android accessor.
|
void |
sendDataMessage(java.lang.String destinationAddress,
java.lang.String scAddress,
short destinationPort,
byte[] data,
android.app.PendingIntent sentIntent,
android.app.PendingIntent deliveryIntent) |
void |
sendMultipartTextMessage(java.lang.String destinationAddress,
java.lang.String scAddress,
java.util.ArrayList<java.lang.String> parts,
java.util.ArrayList<android.app.PendingIntent> sentIntents,
java.util.ArrayList<android.app.PendingIntent> deliveryIntents) |
void |
sendTextMessage(java.lang.String destinationAddress,
java.lang.String scAddress,
java.lang.String text,
android.app.PendingIntent sentIntent,
android.app.PendingIntent deliveryIntent) |
@Implementation public static android.telephony.SmsManager getDefault()
@Implementation
public void sendDataMessage(java.lang.String destinationAddress,
java.lang.String scAddress,
short destinationPort,
byte[] data,
android.app.PendingIntent sentIntent,
android.app.PendingIntent deliveryIntent)
@Implementation
public void sendTextMessage(java.lang.String destinationAddress,
java.lang.String scAddress,
java.lang.String text,
android.app.PendingIntent sentIntent,
android.app.PendingIntent deliveryIntent)
@Implementation
public void sendMultipartTextMessage(java.lang.String destinationAddress,
java.lang.String scAddress,
java.util.ArrayList<java.lang.String> parts,
java.util.ArrayList<android.app.PendingIntent> sentIntents,
java.util.ArrayList<android.app.PendingIntent> deliveryIntents)
public ShadowSmsManager.DataMessageParams getLastSentDataMessageParams()
sendDataMessage.public void clearLastSentDataMessageParams()
sendDataMessage.public ShadowSmsManager.TextSmsParams getLastSentTextMessageParams()
sendTextMessage.public void clearLastSentTextMessageParams()
sendTextMessage.public ShadowSmsManager.TextMultipartParams getLastSentMultipartTextMessageParams()
sendMultipartTextMessage.public void clearLastSentMultipartTextMessageParams()
sendMultipartTextMessage.