Package org.robolectric.shadows
Class UiccCardInfoBuilder
java.lang.Object
org.robolectric.shadows.UiccCardInfoBuilder
Builder for
UiccCardInfo
which includes modifications made in Android T to support MEP.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static UiccCardInfoBuilder
setCardId
(int cardId) Deprecated.This is no longer set on T+ due to MEP as a single eUICC can have more than one ICCID tied to it.setIsEuicc
(boolean isEuicc) setIsMultipleEnabledProfilesSupported
(boolean isMultipleEnabledProfilesSupported) setIsRemovable
(boolean isRemovable) setPhysicalSlotIndex
(int physicalSlotIndex) setPorts
(List<UiccPortInfo> portList) 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
@CanIgnoreReturnValue @RequiresApi(33) public UiccCardInfoBuilder setPhysicalSlotIndex(int physicalSlotIndex) -
setPorts
@CanIgnoreReturnValue @RequiresApi(33) public UiccCardInfoBuilder setPorts(@NonNull List<UiccPortInfo> portList) -
setIsMultipleEnabledProfilesSupported
@CanIgnoreReturnValue @RequiresApi(33) public UiccCardInfoBuilder setIsMultipleEnabledProfilesSupported(boolean isMultipleEnabledProfilesSupported) -
setIsEuicc
-
setIsRemovable
-
build
-