@Implements(value=android.telephony.SmsManager.class) public class ShadowSmsManager extends 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(String destinationAddress,
String scAddress,
short destinationPort,
byte[] data,
android.app.PendingIntent sentIntent,
android.app.PendingIntent deliveryIntent) |
void |
sendMultipartTextMessage(String destinationAddress,
String scAddress,
ArrayList<String> parts,
ArrayList<android.app.PendingIntent> sentIntents,
ArrayList<android.app.PendingIntent> deliveryIntents) |
void |
sendTextMessage(String destinationAddress,
String scAddress,
String text,
android.app.PendingIntent sentIntent,
android.app.PendingIntent deliveryIntent) |
@Implementation public static android.telephony.SmsManager getDefault()
@Implementation public void sendDataMessage(String destinationAddress, String scAddress, short destinationPort, byte[] data, android.app.PendingIntent sentIntent, android.app.PendingIntent deliveryIntent)
@Implementation public void sendTextMessage(String destinationAddress, String scAddress, String text, android.app.PendingIntent sentIntent, android.app.PendingIntent deliveryIntent)
@Implementation public void sendMultipartTextMessage(String destinationAddress, String scAddress, ArrayList<String> parts, ArrayList<android.app.PendingIntent> sentIntents, 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.Copyright © 2016. All rights reserved.