TelephonyManager.UiccCardsInfo 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.
Gets information about currently inserted UICCs (Universal Integrated Circuit Cards) and eUICCs (embedded UICCs).
public virtual System.Collections.Generic.IList<Android.Telephony.UiccCardInfo> UiccCardsInfo { [Android.Runtime.Register("getUiccCardsInfo", "()Ljava/util/List;", "GetGetUiccCardsInfoHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getUiccCardsInfo", "()Ljava/util/List;", "GetGetUiccCardsInfoHandler", ApiSince=29)>]
member this.UiccCardsInfo : System.Collections.Generic.IList<Android.Telephony.UiccCardInfo>
Property Value
A list of UiccCardInfo objects, representing the currently inserted
UICCs and eUICCs. Each object contains information filtered according to the
caller's permissions for that specific card. Returns an empty list if no
cards are present or accessible.
- Attributes
Remarks
Gets information about currently inserted UICCs (Universal Integrated Circuit Cards) and eUICCs (embedded UICCs).
The details returned for each android.telephony.UiccCardInfo UiccCardInfo object depend on the permissions held by the calling application. The specific fields populated within each UiccCardInfo are determined as follows: <ul> <li>With android.Manifest.permission#READ_BASIC_PHONE_STATE READ_BASIC_PHONE_STATE: The UiccCardInfo will include whether the card is an eUICC (android.telephony.UiccCardInfo#isEuicc()) and its android.telephony.UiccCardInfo#getPhysicalSlotIndex() physical slot index.</li> <li>With carrier privileges on any active subscription (see TelephonyManager#hasCarrierPrivileges()): The UiccCardInfo will include the card ID (android.telephony.UiccCardInfo#getCardId()), whether it's an eUICC (android.telephony.UiccCardInfo#isEuicc()), and its android.telephony.UiccCardInfo#getPhysicalSlotIndex() physical slot index.</li> <li>With carrier privileges on the specific UICC or eUICC card: Sensitive identifiers like the EID (android.telephony.UiccCardInfo#getEid()) and ICCID (android.telephony.UiccCardInfo#getIccId()) for that particular card can be accessed.</li> </ul> If an application lacks the necessary permissions for certain details of a card (e.g.,the EID due to missing specific carrier privileges for that card), those fields will not be populated in the UiccCardInfo object for that card.
See android.telephony.UiccCardInfo for a comprehensive description of all possible card attributes and their individual data protection considerations.
Java documentation for android.telephony.TelephonyManager.getUiccCardsInfo().
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.