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 UiccCardInfo
build()
static UiccCardInfoBuilder
newBuilder()
UiccCardInfoBuilder
setCardId(int cardId)
UiccCardInfoBuilder
setEid(String eid)
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.UiccCardInfoBuilder
setIsEuicc(boolean isEuicc)
UiccCardInfoBuilder
setIsMultipleEnabledProfilesSupported(boolean isMultipleEnabledProfilesSupported)
UiccCardInfoBuilder
setIsRemovable(boolean isRemovable)
UiccCardInfoBuilder
setPhysicalSlotIndex(int physicalSlotIndex)
UiccCardInfoBuilder
setPorts(List<UiccPortInfo> portList)
UiccCardInfoBuilder
setSlotIndex(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
-