Package org.robolectric.shadows
Class ShadowTelephony.ShadowSms
java.lang.Object
org.robolectric.shadows.ShadowTelephony.ShadowSms
- Enclosing class:
- ShadowTelephony
@Implements(value=android.provider.Telephony.Sms.class, minSdk=19) public static class ShadowTelephony.ShadowSms extends Object
-
Constructor Summary
Constructors Constructor Description ShadowSms()
-
Method Summary
Modifier and Type Method Description protected static String
getDefaultSmsPackage(Context context)
static void
reset()
static void
setDefaultSmsPackage(String defaultSmsPackage)
Override the package name returned from callingTelephony.Sms.getDefaultSmsPackage(Context)
.
-
Constructor Details
-
ShadowSms
public ShadowSms()
-
-
Method Details
-
getDefaultSmsPackage
-
setDefaultSmsPackage
Override the package name returned from callingTelephony.Sms.getDefaultSmsPackage(Context)
.This will be reset for the next test.
-
reset
-