TelephonyManager.SubscriptionId Property

Definition

Return an appropriate subscription ID for any situation.

public virtual int SubscriptionId { [Android.Runtime.Register("getSubscriptionId", "()I", "GetGetSubscriptionIdHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getSubscriptionId", "()I", "GetGetSubscriptionIdHandler", ApiSince=30)>]
member this.SubscriptionId : int

Property Value

Attributes

Remarks

Return an appropriate subscription ID for any situation.

If this object has been created with #createForSubscriptionId, then the provided subscription ID is returned. Otherwise, the default subscription ID will be returned.

Java documentation for android.telephony.TelephonyManager.getSubscriptionId().

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