Package org.robolectric.shadows
Class ShadowCarrierConfigManager
- java.lang.Object
-
- org.robolectric.shadows.ShadowCarrierConfigManager
-
@Implements(value=android.telephony.CarrierConfigManager.class, minSdk=23) public class ShadowCarrierConfigManager extends Object
-
-
Constructor Summary
Constructors Constructor Description ShadowCarrierConfigManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PersistableBundle
getConfigForSubId(int subId)
ReturnsPersistableBundle
previously set by#setConfigForSubId(int)
, or default values for an invalidsubId
.void
setConfigForSubId(int subId, PersistableBundle config)
Sets that theconfig
PersistableBundle for a particularsubId
; controls the return value ofCarrierConfigManager#getConfigForSubId()
.
-
-
-
Method Detail
-
getConfigForSubId
@Implementation protected PersistableBundle getConfigForSubId(int subId)
ReturnsPersistableBundle
previously set by#setConfigForSubId(int)
, or default values for an invalidsubId
.
-
setConfigForSubId
public void setConfigForSubId(int subId, PersistableBundle config)
Sets that theconfig
PersistableBundle for a particularsubId
; controls the return value ofCarrierConfigManager#getConfigForSubId()
.
-
-