Package org.robolectric.shadows
Class UiccCardInfoBuilder
- java.lang.Object
-
- org.robolectric.shadows.UiccCardInfoBuilder
-
public class UiccCardInfoBuilder extends Object
Builder forUiccCardInfowhich includes modifications made in Android T to support MEP.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 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 Detail
-
newBuilder
public static UiccCardInfoBuilder newBuilder()
-
setCardId
@CanIgnoreReturnValue public UiccCardInfoBuilder setCardId(int cardId)
-
setEid
@CanIgnoreReturnValue public UiccCardInfoBuilder setEid(String eid)
-
setIccId
@CanIgnoreReturnValue @Deprecated public UiccCardInfoBuilder setIccId(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. It is instead set viaUiccPortInfo.
-
setSlotIndex
@CanIgnoreReturnValue @Deprecated public UiccCardInfoBuilder setSlotIndex(int slotIndex)
Deprecated.UsesetPhysicalSlotIndex(int)for Android T+ instead.
-
setPhysicalSlotIndex
@CanIgnoreReturnValue public UiccCardInfoBuilder setPhysicalSlotIndex(int physicalSlotIndex)
-
setPorts
@CanIgnoreReturnValue public UiccCardInfoBuilder setPorts(@NonNull List<UiccPortInfo> portList)
-
setIsMultipleEnabledProfilesSupported
@CanIgnoreReturnValue public UiccCardInfoBuilder setIsMultipleEnabledProfilesSupported(boolean isMultipleEnabledProfilesSupported)
-
setIsEuicc
@CanIgnoreReturnValue public UiccCardInfoBuilder setIsEuicc(boolean isEuicc)
-
setIsRemovable
@CanIgnoreReturnValue public UiccCardInfoBuilder setIsRemovable(boolean isRemovable)
-
build
public UiccCardInfo build()
-
-