All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method |
Description |
void |
clearLastDownloadedMultimediaMessageParams() |
|
void |
clearLastSentDataMessageParams() |
|
void |
clearLastSentMultimediaMessageParams() |
|
void |
clearLastSentMultipartTextMessageParams() |
|
void |
clearLastSentTextMessageParams() |
|
protected void |
downloadMultimediaMessage(Context context,
String locationUrl,
Uri contentUri,
Bundle configOverrides,
PendingIntent sentIntent) |
|
protected static int |
getDefaultSmsSubscriptionId() |
|
ShadowSmsManager.DownloadMultimediaMessageParams |
getLastDownloadedMultimediaMessageParams() |
|
ShadowSmsManager.DataMessageParams |
getLastSentDataMessageParams() |
|
ShadowSmsManager.SendMultimediaMessageParams |
getLastSentMultimediaMessageParams() |
|
ShadowSmsManager.TextMultipartParams |
getLastSentMultipartTextMessageParams() |
|
ShadowSmsManager.TextSmsParams |
getLastSentTextMessageParams() |
|
protected String |
getSmscAddress() |
|
static void |
reset() |
|
protected void |
sendDataMessage(String destinationAddress,
String scAddress,
short destinationPort,
byte[] data,
PendingIntent sentIntent,
PendingIntent deliveryIntent) |
|
protected void |
sendMultimediaMessage(Context context,
Uri contentUri,
String locationUrl,
Bundle configOverrides,
PendingIntent sentIntent) |
|
protected void |
sendMultipartTextMessage(String destinationAddress,
String scAddress,
ArrayList<String> parts,
ArrayList<PendingIntent> sentIntents,
ArrayList<PendingIntent> deliveryIntents) |
|
protected void |
sendMultipartTextMessage(String destinationAddress,
String scAddress,
List<String> parts,
List<PendingIntent> sentIntents,
List<PendingIntent> deliveryIntents,
long messageId) |
|
protected void |
sendTextMessage(String destinationAddress,
String scAddress,
String text,
PendingIntent sentIntent,
PendingIntent deliveryIntent) |
|
protected void |
sendTextMessage(String destinationAddress,
String scAddress,
String text,
PendingIntent sentIntent,
PendingIntent deliveryIntent,
long messageId) |
|
static void |
setDefaultSmsSubscriptionId(int id) |
|
void |
setSmscAddress(String smscAddress) |
|
void |
setSmscAddressPermission(boolean smscAddressPermission) |
Sets a boolean value to simulate whether or not the required permissions to call getSmscAddress() have been granted.
|