Package org.robolectric.shadows
Class ShadowRcsUceAdapter
java.lang.Object
org.robolectric.shadows.ShadowRcsUceAdapter
@Implements(value=android.telephony.ims.RcsUceAdapter.class, isInAndroidSdk=false, minSdk=30) public class ShadowRcsUceAdapter extends Object
A shadow for
RcsUceAdapter
.-
Constructor Summary
Constructors Constructor Description ShadowRcsUceAdapter()
-
Method Summary
Modifier and Type Method Description protected boolean
isUceSettingEnabled()
Returns the value specified for thesubscriptionId
corresponding to theRcsUceAdapter
bysetUceSettingEnabledForSubscriptionId(int, boolean)
.static void
reset()
static void
setUceSettingEnabledForSubscriptionId(int subscriptionId, boolean uceSettingEnabled)
Overrides the value returned byRcsUceAdapter.isUceSettingEnabled()
for RcsUceAdapters associated withsubscriptionId
.
-
Constructor Details
-
ShadowRcsUceAdapter
public ShadowRcsUceAdapter()
-
-
Method Details
-
setUceSettingEnabledForSubscriptionId
public static void setUceSettingEnabledForSubscriptionId(int subscriptionId, boolean uceSettingEnabled)Overrides the value returned byRcsUceAdapter.isUceSettingEnabled()
for RcsUceAdapters associated withsubscriptionId
. -
reset
-
isUceSettingEnabled
Returns the value specified for thesubscriptionId
corresponding to theRcsUceAdapter
bysetUceSettingEnabledForSubscriptionId(int, boolean)
. If no value has been specified, returns false.
-