Package org.robolectric.shadows
Class UiccCardInfoBuilder
java.lang.Object
org.robolectric.shadows.UiccCardInfoBuilder
public class UiccCardInfoBuilder extends Object
Builder for
UiccCardInfo which includes modifications made in Android T to support MEP.-
Method Summary
Modifier and Type Method Description UiccCardInfobuild()static UiccCardInfoBuildernewBuilder()UiccCardInfoBuildersetCardId(int cardId)UiccCardInfoBuildersetEid(String eid)UiccCardInfoBuildersetIccId(String iccId)Deprecated.This is no longer set on T+ due to MEP as a single eUICC can have more than one ICCID tied to it.UiccCardInfoBuildersetIsEuicc(boolean isEuicc)UiccCardInfoBuildersetIsMultipleEnabledProfilesSupported(boolean isMultipleEnabledProfilesSupported)UiccCardInfoBuildersetIsRemovable(boolean isRemovable)UiccCardInfoBuildersetPhysicalSlotIndex(int physicalSlotIndex)UiccCardInfoBuildersetPorts(List<UiccPortInfo> portList)UiccCardInfoBuildersetSlotIndex(int slotIndex)Deprecated.UsesetPhysicalSlotIndex(int)for Android T+ instead.
-
Method Details
-
newBuilder
-
setCardId
-
setEid
-
setIccId
Deprecated.This is no longer set on T+ due to MEP as a single eUICC can have more than one ICCID tied to it. It is instead set viaUiccPortInfo. -
setSlotIndex
Deprecated.UsesetPhysicalSlotIndex(int)for Android T+ instead. -
setPhysicalSlotIndex
-
setPorts
-
setIsMultipleEnabledProfilesSupported
@CanIgnoreReturnValue public UiccCardInfoBuilder setIsMultipleEnabledProfilesSupported(boolean isMultipleEnabledProfilesSupported) -
setIsEuicc
-
setIsRemovable
-
build
-