Package org.robolectric.shadows
Class ShadowSubscriptionManager.SubscriptionInfoBuilder
- java.lang.Object
-
- org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder
-
- Enclosing class:
- ShadowSubscriptionManager
public static class ShadowSubscriptionManager.SubscriptionInfoBuilder extends Object
Builder class to create instance ofSubscriptionInfo
.
-
-
Method Summary
-
-
-
Method Detail
-
newBuilder
public static ShadowSubscriptionManager.SubscriptionInfoBuilder newBuilder()
-
buildSubscriptionInfo
public SubscriptionInfo buildSubscriptionInfo()
-
setId
public ShadowSubscriptionManager.SubscriptionInfoBuilder setId(int id)
-
setIccId
public ShadowSubscriptionManager.SubscriptionInfoBuilder setIccId(String iccId)
-
setSimSlotIndex
public ShadowSubscriptionManager.SubscriptionInfoBuilder setSimSlotIndex(int index)
-
setDisplayName
public ShadowSubscriptionManager.SubscriptionInfoBuilder setDisplayName(String name)
-
setCarrierName
public ShadowSubscriptionManager.SubscriptionInfoBuilder setCarrierName(String carrierName)
-
setIconTint
public ShadowSubscriptionManager.SubscriptionInfoBuilder setIconTint(int iconTint)
-
setNumber
public ShadowSubscriptionManager.SubscriptionInfoBuilder setNumber(String number)
-
setDataRoaming
public ShadowSubscriptionManager.SubscriptionInfoBuilder setDataRoaming(int dataRoaming)
-
setCountryIso
public ShadowSubscriptionManager.SubscriptionInfoBuilder setCountryIso(String countryIso)
-
setProfileClass
public ShadowSubscriptionManager.SubscriptionInfoBuilder setProfileClass(int profileClass)
-
setIsEmbedded
public ShadowSubscriptionManager.SubscriptionInfoBuilder setIsEmbedded(boolean isEmbedded)
-
setMnc
public ShadowSubscriptionManager.SubscriptionInfoBuilder setMnc(String mnc)
-
setMcc
public ShadowSubscriptionManager.SubscriptionInfoBuilder setMcc(String mcc)
-
-