public static class ShadowSubscriptionManager.SubscriptionInfoBuilder extends Object
Builder class to create instance of SubscriptionInfo
.
Modifier and Type | Method and Description |
---|---|
SubscriptionInfo |
buildSubscriptionInfo() |
static ShadowSubscriptionManager.SubscriptionInfoBuilder |
newBuilder() |
ShadowSubscriptionManager.SubscriptionInfoBuilder |
setCarrierName(String carrierName) |
ShadowSubscriptionManager.SubscriptionInfoBuilder |
setCountryIso(String countryIso) |
ShadowSubscriptionManager.SubscriptionInfoBuilder |
setDataRoaming(int dataRoaming) |
ShadowSubscriptionManager.SubscriptionInfoBuilder |
setDisplayName(String name) |
ShadowSubscriptionManager.SubscriptionInfoBuilder |
setIccId(String iccId) |
ShadowSubscriptionManager.SubscriptionInfoBuilder |
setIconTint(int iconTint) |
ShadowSubscriptionManager.SubscriptionInfoBuilder |
setId(int id) |
ShadowSubscriptionManager.SubscriptionInfoBuilder |
setNumber(String number) |
ShadowSubscriptionManager.SubscriptionInfoBuilder |
setSimSlotIndex(int index) |
public static ShadowSubscriptionManager.SubscriptionInfoBuilder newBuilder()
public SubscriptionInfo buildSubscriptionInfo()
public ShadowSubscriptionManager.SubscriptionInfoBuilder setId(int id)
public ShadowSubscriptionManager.SubscriptionInfoBuilder setIccId(String iccId)
public ShadowSubscriptionManager.SubscriptionInfoBuilder setSimSlotIndex(int index)
public ShadowSubscriptionManager.SubscriptionInfoBuilder setDisplayName(String name)
public ShadowSubscriptionManager.SubscriptionInfoBuilder setCarrierName(String carrierName)
public ShadowSubscriptionManager.SubscriptionInfoBuilder setIconTint(int iconTint)
public ShadowSubscriptionManager.SubscriptionInfoBuilder setNumber(String number)
public ShadowSubscriptionManager.SubscriptionInfoBuilder setDataRoaming(int dataRoaming)
public ShadowSubscriptionManager.SubscriptionInfoBuilder setCountryIso(String countryIso)