UiccCardInfo.IccId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the ICCID of the UICC.
public string? IccId { [Android.Runtime.Register("getIccId", "()Ljava/lang/String;", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getIccId", "()Ljava/lang/String;", "", ApiSince=29)>]
member this.IccId : string
Property Value
- Attributes
Remarks
Get the ICCID of the UICC. If the ICCID is not availble, returns null.
Note that this field may be omitted if the caller does not have the correct permissions (see TelephonyManager#getUiccCardsInfo()
).
This member is deprecated. with support for MEP(multiple enabled profile) PackageManager#FEATURE_TELEPHONY_EUICC_MEP
, a SIM card can have more than one ICCID active at the same time. Instead use UiccPortInfo#getIccId()
to retrieve ICCID. To find UiccPortInfo
use UiccCardInfo#getPorts()
.
Java documentation for android.telephony.UiccCardInfo.getIccId()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.