SubscriptionManager.AccessibleSubscriptionInfoList Property

Definition

Gets the SubscriptionInfo(s) of all embedded subscriptions accessible to the calling app, if any.

public virtual System.Collections.Generic.IList<Android.Telephony.SubscriptionInfo>? AccessibleSubscriptionInfoList { [Android.Runtime.Register("getAccessibleSubscriptionInfoList", "()Ljava/util/List;", "GetGetAccessibleSubscriptionInfoListHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getAccessibleSubscriptionInfoList", "()Ljava/util/List;", "GetGetAccessibleSubscriptionInfoListHandler", ApiSince=28)>]
member this.AccessibleSubscriptionInfoList : System.Collections.Generic.IList<Android.Telephony.SubscriptionInfo>

Property Value

Sorted list of the current embedded SubscriptionInfo records available on the device which are accessible to the caller. <ul> <li> If null is returned the current state is unknown but if a OnSubscriptionsChangedListener has been registered OnSubscriptionsChangedListener#onSubscriptionsChanged will be invoked in the future. <li> If the list is empty then there are no SubscriptionInfo records currently available. <li> if the list is non-empty the list is sorted by SubscriptionInfo#getSimSlotIndex then by SubscriptionInfo#getSubscriptionId. </ul>

Attributes

Remarks

Gets the SubscriptionInfo(s) of all embedded subscriptions accessible to the calling app, if any.

Only those subscriptions for which the calling app has carrier privileges per the subscription metadata, if any, will be included in the returned list.

The records will be sorted by SubscriptionInfo#getSimSlotIndex then by SubscriptionInfo#getSubscriptionId.

Java documentation for android.telephony.SubscriptionManager.getAccessibleSubscriptionInfoList().

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.

Applies to